Share via

#DIV/0 Error cannot use IFERROR function

Anonymous
2015-06-18T23:53:04+00:00

Hello-

I am using a basic formula (numerator/denominator) to calculate a result. So when someone has had zero inspections they would enter 0 in both columns. And I need the 0 to appear in the results, not a #DIV/0.

The reason I cannot use the IFERROR function to solve the #DIV/0 problem is because there are some cells in the numerator/denominator columns that stay blank and need to stay blank. Using the IFERROR function changes these columns to "0" as well.

Is there a way to differentiate a zero and a blank?

Thanks!

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

OssieMac 48,001 Reputation points Volunteer Moderator
2015-06-19T00:33:02+00:00

See the screen capture below. Formulas used in column C are displayed in column D.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Anonymous
2015-06-19T00:26:31+00:00

The ISNUMBER() function can differentiate a zero and a blank.

For example, something like this might help:

   =IF(AND(ISNUMBER(B1), ISNUMBER(A1), B1=0, A1=0), 0,IF(LEN(A1&B1)=0,"",A1/B1))

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-06-19T17:10:38+00:00

    This is the function to use. Thank you!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-06-19T17:09:41+00:00

    Great!Thank yoy!

    Was this answer helpful?

    0 comments No comments