G
Guest
I want to make the cell show the sum of a group of cells but stop at 40. For
example, a row of 7 cells labeled Mon thru Sun. A seperate cell is progammed
to shw the sum of those cells however I want the max to be 40 and anything
over 40 be deverted to seperate cell marked for overtime.
=IF(SUM(A2:G2)>40,40,SUM(A2:G2))
For a Maximum of 40 try:
=MIN(40,SUM(B2:B8))
example, a row of 7 cells labeled Mon thru Sun. A seperate cell is progammed
to shw the sum of those cells however I want the max to be 40 and anything
over 40 be deverted to seperate cell marked for overtime.
=IF(SUM(A2:G2)>40,40,SUM(A2:G2))
For a Maximum of 40 try:
=MIN(40,SUM(B2:B8))