Formula for time

joshuafournier

Board Regular
Joined
Mar 3, 2012
Messages
89
Good morning,
I have a formula to give me a total time.

I enter start time in a2
End time in b2
And total time goes into c2

Since we use a 24 hour clock 2 hours 30 minutes looks like this. 2:30. I would like to change how it displays to read 2.5 is there a format or formula I can use for that. I have lots of available cells to work with. Thank you for your time
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Good morning,
I have a formula to give me a total time.

I enter start time in a2
End time in b2
And total time goes into c2

Since we use a 24 hour clock 2 hours 30 minutes looks like this. 2:30. I would like to change how it displays to read 2.5 is there a format or formula I can use for that. I have lots of available cells to work with. Thank you for your time

Multiply Time value by 24 and format as General/Number
 
Upvote 0
With cell formatted as general:
=CONVERT((B1-A1),"day","hr")
 
Upvote 0

Forum statistics

Threads
1,196,239
Messages
6,014,166
Members
441,807
Latest member
sjkenjalo

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