March 17th, 2010, 06:55 PM
posted to microsoft.public.excel.worksheet.functions
|
|
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 news
|