timesheet

A

Andy Bolger

I use this formula at F5 to calculate hours worked etc:
=IF(OR(D5="A/L",D5="SICK"),8,IF(D5="","0",((E5-D5)+(E5<D5))*24)-0.5)

How do i get a nil or blank result if there's no hours worked that day
(currently i get a -0.5)
many thanks
andy
 
P

Per Jessen

Try this:

=IF(OR(D5="A/L",D5="SICK"),8,IF(D5="","0",(((E5-D5)+(E5<D5))*24)-0.5))

Regards,
Per
 

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