IF previous cell value is < 0,(neg)then add it to this cell value

G

Guest

In Excel, as total sales are entered each month, my formula calculates a
commision amount for each month. If the previous commision amount is < 0 (a
negative number), then I need to "add" it to the next months commision, which
would actually be subtracting it.
 
B

Bob Phillips

If it is a negative number, adding it will work fine

=A1+A2

works for say 10 an -4

=(-4)+(+10)
=6

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Top