Convert Hours to Days

Robby19

Board Regular
Joined
Mar 19, 2018
Messages
227
Hello,

I have a table the looks like the following;
Jan
Feb
Mar
Total
11.75
6.00
17.75
21.50
19.75
41.25

<TBODY>
</TBODY>
These are total hours calculations.

How do I convert the Total column to days? I got the Total/24, but I need it to look like the following. For example, 17.75 should read 18 Hours and 41.25 should read 1 Day XX Hours (pardon my math :ROFLMAO:)
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Unknown
ABCDE
1JanFebMarTotal
211.75617.750 Days and 18 Hours
321.519.7541.251 Days and 18 Hours
Sheet1
Cell Formulas
RangeFormula
E2=INT(D2/24)&" Days and "&ROUNDUP(MOD(D2,24),0)&" Hours"
 
Last edited:
Upvote 0
This is great! One last question. Is there a way to total the data in this column to show an overall amount of time, for example with the above calculation it should read "2 Days and 12 Hours."
 
Upvote 0
Just kidding. I'm an idiot. I can just total the Total column and use this same formula for that. Don't mind me.
 
Upvote 0

Forum statistics

Threads
1,215,840
Messages
6,127,217
Members
449,370
Latest member
kaiuuu

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