Deduct until last positive number remaining

K

krismtx

Thanks in advance!
I hope I can explain my question adequately:
I have a list of amouonts that are being deducted from 100,000. I woul
like to deduct until I get the "positive remainder". I do not want
negative number.

*$100,000.00* Amounts to be deducted Declining total

first $5,000.00 $95,000.00 $5,000.00
next $15,000.00 $80,000.00 $15,000.00
next $25,000.00 $55,000.00 $25,000.00
next $35,000.00 $20,000.00 $35,000.00
next $45,000.00 -$25,000.00 *$20,000.00*
*$100,000.00
 
B

Bernie Deitrick

With 1000000 in cell B1. amd the amounts 5000, 15000 in A2:A???, a formula like this in cell B2,
copied down....

=IF(B1="","", IF(B1-A2<0,"",B1-A2))

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Subtract in excel 2

Top