Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=IFERROR(VLOOKUP(D2, A:B, 2, FALSE), "Not found")Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
IFERROR catches every error type; IFNA catches only #N/A. IFNA is safer because it won’t hide a real #REF! or #VALUE! you need to know about.
Use SUMIF with wildcard criteria (*text*) to sum values in a column whenever a related column contains a specific substring.
Error fixNested IF formulas not working in Excel and Google Sheets — fix bracket mismatches, wrong evaluation order, overlapping conditions, and the 64-nesting limit.
How-toChain multiple IF functions inside each other to test several conditions and return different results for each scenario.
How-toCombine IF with AND or OR to test multiple conditions simultaneously and return a result based on whether all or any are true.
How-toUse IF with AND to return a value only when all specified conditions are simultaneously true in Excel or Google Sheets.
How-toUse IF with OR to return a value when at least one of several conditions is true in Excel or Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: