Excel formula builder
INDEX MATCH Formula Builder
Generate an INDEX MATCH formula that works in Excel and Google Sheets without requiring a left-to-right table layout.
Builder inputs
The lookup range and return range should have the same height.
=INDEX(Products!D2:D100, MATCH(A2, Products!A2:A100, 0)) =INDEX(Products!D2:D100, MATCH(A2, Products!A2:A100, 0)) INDEX MATCH works in both Excel and Google Sheets and does not require the return column to sit to the right. How this formula works
- MATCH finds the row position of the lookup value inside the lookup range.
- INDEX returns the value at that same row position from the return range.
- The final 0 in MATCH means exact match.
Sample data
| SKU | Item | Category | Price |
|---|---|---|---|
| A-100 | Keyboard | Hardware | 49 |
| A-101 | Mouse | Hardware | 25 |
| B-200 | Desk Mat | Office | 18 |
| B-201 | Notebook | Office | 7 |
Common mistakes
- The lookup range and return range should align row by row.
- Leaving out the 0 in MATCH can create approximate-match behavior.
- For multiple criteria, combine criteria columns with ampersands or use a helper key.
Related formulas
FAQ
Are these formulas generated with AI?
No. The builder uses deterministic TypeScript functions in the browser and does not call any AI API.
Do I need to upload my spreadsheet?
No. Enter ranges and criteria manually. The site does not upload, store, or process spreadsheet files.
Can I copy the generated formula?
Yes. Each output includes a copy button so you can paste the formula into Excel or Google Sheets.