LanceBergeron
Technical User
I created a timesheet whereby the tech puts his hours in a cell and the formulas figure out overtime and bank time. For instance
=0+IF(B12=8,B12-8,IF(B12=8.5,0.5,IF(B12=9,1,IF(B12=9.5,1.5,IF(B12=10,2,IF(B12=10.5,2.5,IF(B12>=11,3,)))))))
The problem is, I am only allowed 7 IF's in a formula and I want to add in a different range. The above covers .5 hour intervals up to a maximum of 3 hours of overtime. Is there an easier way to say:
If "B12 is greater than 8 but less than or equal to 12, muliply by 1.5. If greater than 12, 4
Thanks in advance!
=0+IF(B12=8,B12-8,IF(B12=8.5,0.5,IF(B12=9,1,IF(B12=9.5,1.5,IF(B12=10,2,IF(B12=10.5,2.5,IF(B12>=11,3,)))))))
The problem is, I am only allowed 7 IF's in a formula and I want to add in a different range. The above covers .5 hour intervals up to a maximum of 3 hours of overtime. Is there an easier way to say:
If "B12 is greater than 8 but less than or equal to 12, muliply by 1.5. If greater than 12, 4
Thanks in advance!