converting hours to days,hours,minutes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Staff leave is allocated in hours. One working day is 7:30. Therefore eg 30
hours is 4 days. How do I convert eg 188 hours to days:hours:minutes?
Thank you N Harkawat and Ron Rosenfeld for your excellent replies to my
previous question. Hope you can help on this one.
 
You could use a formula like

=INT(A1/7.5)&" d "&TEXT(MOD(A1,7.5),"hh:mm")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Try this:

=INT(A1/7.5)&" Days, "&INT(MOD(A1,7.5))&" Hours,
"&(MOD(A1,7.5)-INT(MOD(A1,7.5)))*60&" Minutes"
 
Back
Top