Spreadsheet Practice

IFNA formula generator

Describe what you need and get a working IFNA formula for Excel and Google Sheets, tested on real data before you copy it. IFNA returns a fallback only when a formula results in #N/A, the error lookups give when a value is missing.

The generator is switching on soon. Meanwhile, the examples below are all tested.

Tested IFNA examples

Each formula below was calculated on its own sample sheet. Open one to see the sheet, why it works, and to try it yourself.

Use VLOOKUP with ARRAYFORMULA

=ARRAYFORMULA(IF(B2:B9="","",IFNA(VLOOKUP(B2:B9,E2:F6,2,FALSE),"Not found")))

Google Sheets · result on the sample sheet: 8 rows (C2:C9)

Make a search box

=FILTER(A2:D10,ISNUMBER(SEARCH(G1,A2:A10&" "&B2:B10&" "&C2:C10)),"No results")

Excel · result on the sample sheet: 4 rows (F3:I6)

Questions

What does the IFNA formula generator do?

You describe the task in plain English, and it writes the formula, using IFNA where that's the right tool, for your table or a sample one. The formula is run in our engine in Excel and Google Sheets mode before you see it, so you get its result, not just a guess.

What does IFNA do?

IFNA returns a fallback only when a formula results in #N/A, the error lookups give when a value is missing.

Can I learn to write IFNA formulas myself?

Yes. Each example below opens a page where you try the formula in a live grid and it's checked as you go, and the IFNA function page has a practice exercise.

More formula generators