I am trying to create a formula in Excel to calculate Overtime. My base formula is: =IF(I5<D41,I5,D41) I also need to add, if the answer to that formula is >8, then put 8 in the cell, otherwise use the answer to the first formula.