Thread: IF statement
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default IF statement

Well, if your current formula is returning a result of C29-C26 and that is
negative, what do *you* think the formula is which would give a positive
number of the same magnitude?
--
David Biddulph

"help!" wrote in message
...
Thanks this worked for the one cell, however when I used it another cell
to
show the increase for example =IF((C29-C26)<=0,C29-C26,0)

it returns the correct amount but with a negative sign in front. How do I
get rid of the negative sign?

thanks!

"muddan madhu" wrote:

try this

=IF((C29-C26)=0,C29-C26,0)



On Sep 19, 1:06 am, help! wrote:
I am not sure what to do here.
I have a worksheet and if C29 - C26 =0, I want the cell to dispay the
amount (for example 20000 - 15000= 50000) but if it is <=0, I want the
cell
to display 0.

Can I use an IF statment for this? How would I do this?

thanks!