Time formula help

J

~Jeff~

I have a cell that equals the remaining number of hours of vacation pay. I
would like to have a cell next to that that would indicate how many work
days are left figuring the work day is 8 hours.

Example:
Cell A1:
59

Cell B1:
7 days and 3 hours

Example 2:
Cell A1:
148.5

Cell B1:
18 days and 4.5 hours

Thanks in advance,
 
B

Bob Phillips

Hi Jeff,.

=INT(A1/8) & " days and " & A1-INT(A1/8)*8 & " hours"

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
R

Ron Rosenfeld

I have a cell that equals the remaining number of hours of vacation pay. I
would like to have a cell next to that that would indicate how many work
days are left figuring the work day is 8 hours.

Example:
Cell A1:
59

Cell B1:
7 days and 3 hours

Example 2:
Cell A1:
148.5

Cell B1:
18 days and 4.5 hours

Thanks in advance,


=INT(A1/8)& " days and " & MOD(A1,8) & " hours"


--ron
 

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