XLOOKUP Generator
Enter what to find, where to look and what to return. Get a correct XLOOKUP.
XLOOKUP replaced VLOOKUP in Microsoft 365 and Excel 2021: it matches exactly by default, can look left, and has a built-in “not found” value. Give this generator the lookup cell, the column to search and the column to return, and it writes the formula with the ranges anchored for filling down. It also gives the VLOOKUP and INDEX/MATCH versions for older Excel.
- Price
- Free
- Your data
- Never sent
- Runs
- In your browser
or drag it here
· up to 50 MB · processed locally, never uploaded
Files stay on your device
What it does well
- Exact match with a “Not found” fallback instead of #N/A
- Ranges anchored with $ so the formula fills down safely
- VLOOKUP and INDEX/MATCH equivalents for Excel 2019 and older
- Comma or semicolon separators
How to use XLOOKUP Generator
- 1
Enter the cell holding the value to look up, such as G2.
- 2
Enter the column to search and the column to return, such as A2:A500 and D2:D500.
- 3
Choose comma or semicolon separators to match your Excel.
- 4
Press Generate and paste the formula into your sheet.
Learn more
- VLOOKUP with real examples, and when to use XLOOKUP instead
Five worked VLOOKUP examples, from a basic price lookup to tiered commission rates, plus the XLOOKUP version of each and the mistakes that return wrong answers silently.
Common problems and fixes
The result is “Not found” for a value you can see.
The two values differ invisibly: a trailing space, or a number stored as text. Clean the column with the Data Cleaner, or wrap the lookup value in TRIM().
Frequently asked questions
More formulas tools
Describe what you need in plain English and get a working formula, or paste an existing one to see it explained and audited step by step.
Browse Formulas