Forum Discussion
CHEEGOMOON
Feb 06, 2022Copper Contributor
HELP WITH FORMULA IF, AND
Hello - I am looking for basic excel formula help for an equation. What I need the cell to ultimately do is calculate overtime hours. So when I add the total hours (which are REGULAR + FACILITY + STB...
Donald_Genes_
Feb 06, 2022Brass Contributor
IF(MAX(A2-40,0)>40,MAX(A2-40,0),0)
Hope this help!
Hope this help!
CHEEGOMOON
Feb 06, 2022Copper Contributor
Donald_Genes_ Thanks for getting back to me on this. My formula skills are sub par but I am working on it. I did try yours, however it's not generating the final outcome I am hoping for yet. In the screenshot you will see that Column K is for OT(overtime - anything above 40 hours) but only after you take the total from Column F and subtract the STANDBY hours (column I) and the standard 40 (hours in a work week). Then if the final number is less than 0 it should generate 0 and over 0 should have how ever many hours of OT they will receive. See screenshot:
Thank you in advance for any guidance on this.