not sure what formula

S

Shawn

I am trying to fix my pay sheet can you help. my time
gets added together as if the hour is a whole number and
the minute is a decimaland i can not get the number to
round up to the next whole number and leave the remaining
minutes less than an hour as a decimal

Example: 40.65 this is 41 hours and 5 minutes "41.05"
 
P

Peo Sjoblom

It would be a lot easier if you used excel time formats, to get 41.05 out of
40.65 you can use

=INT(A1)+HOUR(MOD(A1,1)/14.4)+(MINUTE(MOD(A1,1)/14.4)/100)

where A1 holds 40.65

--


No private emails please, for everyone's
benefit keep the discussion in the newsgroup.

Regards,

Peo Sjoblom
 
S

shawn

TY that did it. thanks again
-----Original Message-----
It would be a lot easier if you used excel time formats, to get 41.05 out of
40.65 you can use

=INT(A1)+HOUR(MOD(A1,1)/14.4)+(MINUTE(MOD(A1,1)/14.4)/100)

where A1 holds 40.65

--


No private emails please, for everyone's
benefit keep the discussion in the newsgroup.

Regards,

Peo Sjoblom




.
 

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