formula for interpreting time cards with .25-.50-.75

R

Robert B Dewsna

I have a formula that I used at school

=IF(MINUTE(B5)<=5,HOUR(B5),IF(MINUTE(B5)<20,HOUR(B5)+0.25,IF(MINUTE(B5)<35,HOUR(B5)+0.5,IF(MINUTE(B5)<50,HOUR(B5)+0.75,HOUR(B5)+1))))

I was asked to change this to read 53 min before hour 7 minuets
after (both showing on time) at 8 min after it goes to a .25 at 21
thru 37 it goes to .50 at 39 thru 52 it goes .75 I hope this is
understandable I want to know what numbers to change in the formula
thank you Rdewsnap
 
P

Peter Atherton

Hello Robert

I think that this is what you want

=IF(MINUTE(B15)<=7,HOUR(B15),IF(MINUTE(B15)<21,HOUR(B15)
+0.25,IF(MINUTE(B15)<37,HOUR(B15)+0.5,IF(MINUTE(B15)
<52,HOUR(B15)+0.75,HOUR(B15)+1))))

Regards
Peter
 

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