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  dBforums > PC based Database Applications > Microsoft Excel > I need help with a formula??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-13-06, 13:40
tinalma tinalma is offline
Registered User
 
Join Date: Sep 2006
Posts: 4
I need help with a formula??

I need a formula that adds up to a certain number but will not go past that number. It will subtract from that number..

Examp: I want it to add (aj +8) up to 480
when the number reaches 480 it no longer will add but it will subtract....help me please
Reply With Quote
  #2 (permalink)  
Old 09-14-06, 02:43
michaeldavid michaeldavid is offline
Registered User
 
Join Date: Dec 2004
Posts: 35
Hope this helps

You may need to change the references, but this should do the job.

It adds up the numbers in A8,B8 and C8 and once they cross the 480 barrier it will start to count backwards.

=IF(SUM(A8:C8)<=480,SUM(A8:C8),480-(SUM(A8:C8)-480))
Reply With Quote
  #3 (permalink)  
Old 09-14-06, 16:31
tinalma tinalma is offline
Registered User
 
Join Date: Sep 2006
Posts: 4
Okay, but.....

Is it possible that once it reaches 480 instead of having it count backwards to have 480 remain constant until the sum of another cell is subtracted from it.

I really appreciate this
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On