Time conversion

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
433
Office Version
  1. 2013
Platform
  1. Windows
I download an Excel workbook that gives me data as 6:15 which is being read as 6:15:00 AM. In reality it stands for 6 hours and 15 minutes or 375 minutes. I need a formula, or maybe two if needed, that will convert what is read as 6:15:00 AM to 375.

thanks in advance
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
How about
Excel Formula:
=A2*1440
 
Upvote 0
That suggests that the values are text.
Can you post some sample data using the XL2BB add-in.
 
Upvote 0
Time Conversion.xls
A
2How Long
3Time that needs to be converted to minutes
46:15
56:15
66:15
74:45
85:00
95:00
106:15
114:15
124:15
139:00
144:30
156:00
167:30
173:45
182:45
1911:30
203:00
2115:30
227:30
237:45
243:45
254:15
264:00
27:00
28:00
298:15
30:00
31:00
32:00
338:30
34:00
Time
 
Upvote 0
Thanks for that.
How about
Fluff.xlsm
AB
1How Long
2Time that needs to be converted to minutes
306:15375
406:15375
506:15375
604:45285
705:00300
805:00300
906:15375
1004:15255
1104:15255
1209:00540
1304:30270
1406:00360
1507:30450
1603:45225
1702:45165
1811:30690
1903:00180
2015:30930
2107:30450
2207:45465
2303:45225
2404:15255
2504:00240
26:000
27:000
2808:15495
29:000
30:000
31:000
3208:30510
33:000
Sheet5
Cell Formulas
RangeFormula
B3:B33B3=IFERROR(A3*1440,0)
 
Upvote 0
Solution
Thanks for that.
How about
Fluff.xlsm
AB
1How Long
2Time that needs to be converted to minutes
306:15375
406:15375
506:15375
604:45285
705:00300
805:00300
906:15375
1004:15255
1104:15255
1209:00540
1304:30270
1406:00360
1507:30450
1603:45225
1702:45165
1811:30690
1903:00180
2015:30930
2107:30450
2207:45465
2303:45225
2404:15255
2504:00240
26:000
27:000
2808:15495
29:000
30:000
31:000
3208:30510
33:000
Sheet5
Cell Formulas
RangeFormula
B3:B33B3=IFERROR(A3*1440,0)
What number format are the values in column A in your data? I'm using this formula =IFERROR(B3*1440,0) and it returns a value of 0
 
Upvote 0
I'm using the data you posted which are all numbers except for the ones like :00
 
Upvote 0
I'm using the data you posted which are all numbers except for the ones like :00
Fluff, thanks for the help. I'm not sur why it's not working but in any case, I got the project working.
 
Upvote 0
Glad it's sorted & thanks for letting us know.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top