need help w/ formula for taking lunch & overtime out of a 9 hour

J

jodee501

I have a timesheet that calculates the time then takes out lunch & if over 8
hours put overtime in a column, but if the time is less than 8 it shows
negative ot instead of -0-. help !!!!
 
M

Mike

Try this not sure if this is what your needing
The -0.5 at the end is for lunch

=IF(A1<=8,A1-A1,A1-8-0.5)
 
M

Mike

Sorry
This sould do better
what i did was change the 8 to 8.5
=IF(A1<=8.5,A1-A1,A1-8.5-0.5)
 

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