In this article, we will learn how to use IFERROR function to ignore the #N/A error while calculating the formula in Excel.
IFERROR function runs the logic_test in Excel. It catches error in a formula and returns an alternative result or formula when an error is detected. #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, and #NULL! These errors are checked under IFERROR.
Let’s learn this function using it in an example.
Here we have some data
Use the formula in C2 cell.
Copy the formula in other cells, select the cells taking the first cell where the formula is already applied, use shortcut key Ctrl + D
As you can see it generates division error here.
Use the IFERROR formula
This formula returns blank cell if error is generated in the division operator else it returns the value after division.
Press Enter and Copy the formula in other cells, select the cells taking the first cell where the formula is already applied, use shortcut key Ctrl + D
That’s the difference it makes.
Hope you understood How to use IFERROR function to ignore errors. Explore more articles here on logical test. Please state your queries in the comment box below.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.