A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

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



 
 
Thread Tools Display Modes
  #1  
Old March 17th, 2010, 04:16 PM posted to microsoft.public.excel.worksheet.functions
payroll function
external usenet poster
 
Posts: 1
Default leave sum of j7 at 40 or less put excess in k7


Ads
  #2  
Old March 17th, 2010, 06:42 PM posted to microsoft.public.excel.worksheet.functions
Pete_UK
external usenet poster
 
Posts: 8,780
Default 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:


  #3  
Old March 17th, 2010, 07:55 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default 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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.