Convert Vacation Hours into Days/Minutes

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
Does Excel have a function to convert hours off into days (8 hour day) and minutes?

For example
If I have 51 hours of vacation
If I divide that by 8, that equals 6.38 days off
So I have 6 days off + .38 of a day.
How would .38 equate to hours/minutes?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Giving this some thought.........
51 hours of vacation is the equivalent of 6 eight-hour days off with an additional 3 hours off left over
So if there is a way of using QUOTIENT and MOD in the same formula that might give the results that I am looking for.
The result that I am hoping for with a formula is "6 Days 3 Hours". All in the same cell.
 
Upvote 0
For an entry in cell A1 (i.e. 51 hours), try this:
Code:
=INT(A1/8) & " Days " & MOD(A1,8) & " Hours"
Note that this just takes days and hours into consideration, not minutes.
 
Upvote 0
That is perfect Joe4.............exactly what I was needing........thanks so much
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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