G
Guest
I have a timesheet template that allows a user to enter their Time In, Time out for Lunch, Time back In, Time Out for the day, then calculates the time differences to give total number of hours worked.
I am trying to make it so that if the total time for the day is Negative, it assigns zero as the default. Here is the statement that I tried
IIF(ROUND((((E7-E6)+(E4-E3))*24),2)<0, ROUND((((E7-E6)+(E4-E3))*24),2),0
Can anyone give me some help on what I've done wrong? I just get #NAME in the box
Thanks for the help in advance
Mac
I am trying to make it so that if the total time for the day is Negative, it assigns zero as the default. Here is the statement that I tried
IIF(ROUND((((E7-E6)+(E4-E3))*24),2)<0, ROUND((((E7-E6)+(E4-E3))*24),2),0
Can anyone give me some help on what I've done wrong? I just get #NAME in the box
Thanks for the help in advance
Mac