Can I hide the error triangle thing in a cell?

I know my formula is correct, but when I do not have a value it brings up an error since I can not divide by 0. Can I hid this error to make the spreadsheet look cleaner?


User uploaded file

MacBook Pro, Mac OS X (10.7.3)

Posted on May 20, 2014 2:49 PM

Reply
2 replies

May 20, 2014 3:02 PM in response to Haddy234

Haddy,


If you hover over the error triangle, you will get a message. In this case, it's not a bad formula, it's a "divide by zero" error. You are being warned that the result of dividing by zero is "undefined".


You can trap the error, but it's even better in my book to sidestep the error. In your case, you could change the formula in Total Percent from:


=G/C


to


=IF(C>0, G/C, "")


What we are doing is is making sure we aren't dividing by zero before we divide.


Regards,


Jerry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can I hide the error triangle thing in a cell?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.