Skip to main content

Quickly replace formulas error messages with zero, blank cells, or text

Author: Sun Last Modified: 2024-12-09

Kutools for Excel

Boosts Excel With 300+
Powerful Features

Sometimes the formula may produce error message in Excel. For example, in this formula =A1/B1, if B1 is empty or contains 0, the formula will display a #DIV/0 error. Is there any way to make those error messages clearly readable with some customizing text or others? Kutools for Excel's Error Condition Wizard can quickly add error condition to a formula or group of formulas to display the formulas that produce errors with the 0(zero), a custom message, blank cells, cell reference, etc.


Click Kutools >> More >> Error Condition Wizard. See screenshot:

shot-error-wizard-1 shot-error-wizard-2

Usage:

1. Apply this utility and in the Error Condition Wizard dialog box, do the following options:

  • A: Click select button button to select the range that you want to replace the error formulas.
  • B: Click the Error type drop down list to choose the error formula type that you want to replace. (you can select any error value, only the #N/A error value or any error value except #N/A)
  • C: Specify what you would like to display instead of errors, in this example, I will replace the errors by 0. See screenshot:

shot-replace-error-values-2

2. Then click OK, all of the errors have been replaced by 0. See screenshots:

shot error widzard 2

Tips: you can also replace the errors with the following messages:

  • Nothing (a blank cell): Empty cells replace the errors.
  • A message (text): Type a value into the text box, and the value in the box will replace the errors.
  • A cell reference: An absolute reference replaces the errors.

Notes:

  1. You can press Undo (Ctrl+Z) to restore this operation immediately.
  2. The selected range can include formula cells and non-formula cells, but the non-formula cells will be automatically ignored in the formatting.

Demo: Quickly replace formulas error messages with zero, blank cells, or text

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Productivity Tools Recommended

Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...

Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...


Kutools for Excel

Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

šŸŒ Supports 40+ interface languages
āœ… Trusted by 500,000+ users and 80,000+ businesses worldwide
šŸš€ Compatible with all modern Excel versions
šŸŽ 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon