Lesson#17: How to use function IFERROR

Function IFERROR returns the value_if_error if expression is an error and the value of the expression or reference. Syntax of the function =IFERROR(value, value_if_error).
Here I will give you small example.

Here in the picture you can see that I made a chart which contains serial number, name of the thing, group, unit and price. Below I will enter the serial number and it will lookup the name by using VLOOKUP.

If my input does not belong to the list or you can say is an error then I may use the function to show the error input. I have used the formula =IFERROR(VLOOKUP(B20,B3:F16, 2,FALSE), “Invalid No”). If the input is not from the list of serial numbers (1-14) then It will show the text “Invalid No”.







Related video tutorials:


Puspendu is the founder author of Excelabcd. He is a creative person, blogger and Excel-maniac guy.

Tagged with: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*