SUMIF

J

jmfozzybear

i do HATE MShelp

if cell d17 has something in it (>0) i want to subtract c17-d17 or add c17
and -d17

please help! i could do it in C++
 
J

Jacob Skaria

Try the below

=IF(D17>0,C17-D17,C17+(-D17))

OR
=IF(D17="","",C17-D17)

If this post helps click Yes
 
D

David Biddulph

Are you sure you mean that, Jacob?

Isn't C17-D17 the same as C17+(-D17) ?
 
J

Jacob Skaria

I dont think OP is quite good with IF(). I just put in that to show the IF
statement ...Didnt you see the second formula...

If this post helps click Yes
 

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