

Here is the syntax of the Excel IFERROR Function. You can use the formula =IFERROR(A1/B1,”Please Enter Valid Number”) to ask the user to enter valid data.In this case, we can use IFERROR function to instruct the user to enter valid numbers.What if the user enters 2k at Range A1 and 10 at B1, the formula C1 evaluates to an Error (#VALUE!).If the user enters 2000 at Range A1 and 10 at B1, the formula C1 evaluates and returns the unit price as 200.And You wants to calculate the Unit Price at C1. Let us say you are accepting Total Sales at Range A1 and Units in Range B1.

=IFERROR(Actual Formula, Value if the formula returns an Error) In this case we can use IFERROR function to return something else when the formula evaluates an error. For example, if we enter some formula in Cell, and we assume that there is some chance of getting an Error. We can handle the Error Cells and Formulas with errors like #VALUE!,#N/A, #REF!, #DIV/0!, #NUM! #NAME? and #NULL!.Įxcel IFError Function helps to return a value if an formula returns an Error. IFERROR used in Excel to handle if the formula is evaluated to an Error. IFERROR is an Excel Logical Function to Check if a value is an Error.
