Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=IFERROR(VLOOKUP("Active",A2:B6,2,FALSE),"Not found")=QUERY(A2:B6,"SELECT A,B WHERE B='Active'",0)Computed by a real spreadsheet engine on the sample data below.
| Name | Status |
| Alice | Active |
| Bob | Inactive |
| Carol | Active |
| David | Active |
| Eve | Inactive |
=IFERROR(VLOOKUP("Active",A2:B6,2,FALSE),"Not found")→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.
Yes, FILTER was added to Excel 365 and Excel 2021. However, QUERY is exclusive to Google Sheets.
FILTER returns a #CALC! error if no rows match. Wrap it in IFERROR or use =IFERROR(FILTER(...),'No results') to handle empty results gracefully.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: