• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

issue with negative number in file

I have the following formula =IF(C46>0,SUM(C45-C46)/C45,0)


It works fine until I get across to cell I46 which is a negative number and comes up with 0.00%.


How do I fix this one?
 
then 0.00% is correct. You have said in your formula if the value of C46 is greater than 0 do the calculation else mark as 0
 
Can you not just use
Code:
=SUM(C45-C46)/C45
?


If you are wanting to still calculate negative numbers I'm unsure as to why you are using the IF function
 
Back
Top