Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=XLOOKUP(A2&B2,$C$2:$C$5&$D$2:$D$5,$E$2:$E$5,"Not found")Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Use an array-confirmed INDEX/MATCH: =INDEX($E$2:$E$100,MATCH(A2&B2,$C$2:$C$100&$D$2:$D$100,0)) confirmed with Ctrl+Shift+Enter in Excel 2019 and earlier.
The modern replacement for VLOOKUP and INDEX/MATCH — look up a value and return a match in any direction.
How-toLearn how to use XLOOKUP to fetch data from multiple columns efficiently in both Excel and Google Sheets.
Error fixFix #N/A errors in XLOOKUP in Excel and Google Sheets — lookup value not found, data-type mismatch, incorrect array size, and match mode issues.
How-toLearn how to use XLOOKUP with wildcards to perform flexible lookups in Excel and Google Sheets.
Error fixFix #SPILL! errors from XLOOKUP in Excel — spill range blocked by non-empty cells, merged cells, or returning an array into a table column.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: