Identifying Unstable Values

K

Ken

I have a column of numerical values of which a few return "#DIV/0!" as the
answer. How do I write an if then statement signaling those cells as such.
When I use the formula =IF(A1="#DIV/0!",1) attempting to return "1" as the
"value" in such cases it doesn't work.
 
J

JE McGimpsey

Ken said:
I have a column of numerical values of which a few return "#DIV/0!" as the
answer. How do I write an if then statement signaling those cells as such.
When I use the formula =IF(A1="#DIV/0!",1) attempting to return "1" as the
"value" in such cases it doesn't work.

One way:

Assume your cell contains something like:

=A1/B1

Then:

=IF(B1=0,"undefined",A1/B1)
 

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