converting hours to days,hours,minutes


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.
 
Ad

Advertisements

B

Bob Phillips

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)
 
Ad

Advertisements

R

Ragdyer

Try this:

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top