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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,223,888
Messages
6,175,219
Members
452,620
Latest member
dsubash

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