ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   leave sum of j7 at 40 or less put excess in k7 (https://www.excelbanter.com/excel-worksheet-functions/259175-leave-sum-j7-40-less-put-excess-k7.html)

payroll function

leave sum of j7 at 40 or less put excess in k7
 


Pete_UK

leave sum of j7 at 40 or less put excess in k7
 
It would help if you used this white space to describe your problem in
more detail.

Pete

On Mar 17, 3:16*pm, payroll function <payroll
wrote:



Fred Smith[_4_]

leave sum of j7 at 40 or less put excess in k7
 
If your sum is in h7, use:
J7: =min(40,h7)
K7: =if(h740,h7-40,0)

Regards,
Fred

"payroll function" <payroll wrote in
message ...




All times are GMT +1. The time now is 10:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com