Formulyo

Excel + Google Sheets · IFERROR

Hide every #DIV/0!

Shows your own value instead of an error.

The formula

=IFERROR(A2/B2, 0)

What each part means

Example

Before
ABC
1SalesVisitsRate
230600
3120
445300
58200
After
ABC
1SalesVisitsRate
2306005.0%
31200
44530015.0%
582004.0%

Step by step

  1. Click cell C2.
  2. Type the formula: =IFERROR(A2/B2, 0)
  3. Press Enter.
  4. Drag the small square in the bottom-right corner of the cell down to copy it to the other rows.

Where it works

The same formula in other languages

Get 1 formula a day, free

Plus a free weekly planner template for Excel and Google Sheets. Unsubscribe in 1 click.

✓ Done! Check your inbox to confirm.

Want ready-made templates? See the Formulyo pack →

Keep learning