Gomaa Intelligence.Data Hub
عربي

Home › IFERROR

Excel IFERROR Function — Syntax, Example & Tips

Replaces any error such as #DIV/0! or #N/A with a value you choose.

Syntax

=IFERROR(value, value_if_error)

Example

=IFERROR(A2/B2, 0)

Divide A2 by B2 and return 0 on error.

Tip

Do not blanket-hide errors; they can mask real data problems.

Try the tool

Want an expert to do it for you?

Gomaa Intelligence turns your data into clear reports and decisions. Tell us your problem and we will reply.

FAQ

What does IFERROR do?

Replaces any error such as #DIV/0! or #N/A with a value you choose.

How do I use IFERROR?

=IFERROR(A2/B2, 0) — Divide A2 by B2 and return 0 on error.

Related functions

VLOOKUP · XLOOKUP · SUMIFS · COUNTIFS · IF · TEXTJOIN · TRIM · COUNTIF · SUMPRODUCT · UNIQUE · FILTER · DATEDIF · TEXT

Get your data analyzed by an expert ↗