Why it works
- What it does
- Usually the two keys only look alike: one is a number, the other text; or one has a hidden space. Excel compares exactly. Convert the key on the way in, with -- for numbers or TRIM for spaces, rather than retyping the list.
- The shape of the formula
- =XLOOKUP(--key, key column, result column)
- How to remember it
- #N/A means “not identical”, not “not there”.
- The usual mistake
- Retyping the failing keys by hand. The next import brings the same mismatch back.
Keep practicing
- Numbers stored as textWhy does SUM ignore some of my amounts?Open
- TRIM: remove extra spacesWhy does a lookup fail on names that look identical?Open
- VLOOKUP: find a value in a listHow do I pull each customer’s payment terms from another sheet?Open
- Lesson: Numbers that are really textA short lesson in your workspace: the idea, small steps on a sheet, one task with new dataOpen
Updated