Hide your Excel mistakes

Ex-boyfriends, late night eBay purchases: We all wish we could hide from our mistakes. While I can’t offer a solution to these problems, I can help you hide your errors in Excel.

—Excel’s IFERROR function allows you to mask formula errors with whatever value you want. I don’t recommend you replace all formula errors with the correct answer to solve the underlying problem, but in some cases it’s extremely useful.

IFERROR traps formula errors before they’re returned and replaces them with a desired value. The IFERROR function has two arguments separated by a comma. The first is your formula and the second is the value you want to return if the formula results in an error.

In the example above, I started out with a messy data table filled with divided by zero errors. I used the IFERROR function and entered the formula, a comma, and then 0. Now, any time the formula results in an error, 0 is returned.

Related Video

Back to blog

Meet Emma

Emma is the founder of Excel Dictionary, your ultimate source for impactful, digestible Excel tips and tricks.  After graduating from The Ohio State University in 2019 with a degree in Actuarial Science, Emma began her professional career as an actuary, just in time for COVID to hit.  New to the industry, new to the company, adjusting to a new WFH environment, and new to Excel, Emma quickly realized how overwhelming those Excel projects could be and didn’t know where to turn for help – so she taught herself.

Emma created Excel Dictionary to help others avoid Excel overwhelm and to be the coworker that you can turn to.  She was recently awarded the Microsoft MVP award and has built a community of over 5 million people across the globe! Join her across all social channels to learn quick, actionable skills that will make you more efficient, comfortable, and confident in your daily work!

Follow Emma