I have a cell that holds the start time of a worker(say A1 - time format), and another to hold the time in which he leaves work(say A2 - time format).
In a third cell,I'd like to insert the result of the following condition(say A3 which holds a general format):
If A1<17:00
than a3=0
else a3=a2-a1
The probelm is that the if part of the condition, which is: A1<17:00 is invalid.
How can I check if a time is bigger or lower than another time, without adding columns that transforms the time into
number formats?
Thanks
In a third cell,I'd like to insert the result of the following condition(say A3 which holds a general format):
If A1<17:00
than a3=0
else a3=a2-a1
The probelm is that the if part of the condition, which is: A1<17:00 is invalid.
How can I check if a time is bigger or lower than another time, without adding columns that transforms the time into
number formats?
Thanks