Function in numpers that shows a different result depending on the conditions
Good evening and happy new year. I would like your help for a result in Numpers.
I have a table with my weekly work schedule. The normal working hours are 8 hours so I subtract the longest hour from the shortest and I have the result which is 8 hours. However, there are also days when the hours become 10-12 so we have overtime. These appear in another cell. And in this case I subtract the total number of working hours with the number 8. The problem starts when I have a day off where the cell with the overtime writes -8 while it should show 0 or nothing. Can someone tell me how to do it?