Hi guys.....
I have this formula, that I copied from an excel template (One of the time sheets)
I kinda understand the formula, but I can't adapt it to fit my specific needs.
The formula is as follows:
=IF((OR(C6="",C5="")),0,IF((C6<C5),((C6-C5)*24)+24,(C6-C5)*24))
Where C5 = time Start
C6= time end
This formula works perfect, but I just need the following alteration:
for every 5 hour, the formula has to deduct 30 minutes from the result
So, if the difference between time start and end = 8.5 hours, it has to deduct 30 min, leaving 8 hours
If the difference is 12 hours, it has to deduct 1 hour, leaving 11 hours
I would also appreciate an explanation of the formula proposed.....because it took me like 5 hours to understand the above written formula.
Hope I can get some help
Bookmarks