• 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.

Is it necessary to use the IF function.........

I have numeric values in columns A & B in about 200 rows.
Column C2 has the product of col A&B using a simple formula:
= A2*B2
Some cells in col A or col B or both are blank in which case col C will display a numeric zero.
But i prefer col C to display a 'blank' instead.
So i use the formula:
=IF(A2*B2>0,A2*B2,"")
Is it necessary to use the IF function only to get a blank in Col C ??
Or can the formula =A2*B2 be customised without having to use the IF function.
 
Hi James,

You can also use the following custom formatting for column C : 0;-0;;@


Regards!!!
 
Back
Top