Forum Discussion
aramark_176
May 24, 2019Copper Contributor
Excel formula Help!!!
I need to create a formula calculating sick time. It's total number of hours worked/30 plus previous balance, but I only want the sheet to show a maximum of 40 hours. I eneter the hours worked each ...
tanvirabid
May 26, 2019Copper Contributor
You can also do it this way, using the IF function:
=IF(SUM(A1:C1)/30+D1>40,40,SUM(A1:C1)/30+D1)