I have a formula on Sheet 2
=SUM(A1:G1) that adds up my current Manager's hours which equals to45.0 hours.
I trying to use
=IF(H1>=40,40,H1) Should remove the 5 hours as over time and leave40 as regular hours in the cell.
=IF(H1>=40,H1-40,0) Should remove 40 and leave5 as over time in the cell.
I am using this same setup on Sheet 1 for my employees, but=SUM(A1:G1)
is replaced with =SUMIF(A1:G1) and the rest of the formulas are the same. Will=SUMIF not work with
=IF?
Thanks in advance.