JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,532
- Office Version
- 365
- Platform
- Windows
I need to look up a value in a table from a different sheet. This minisheet shows what I have tried that don't work. These formulas (F6:F8) are in the same sheet just so they would be in the minisheet.
These formulas all get errors. The first gets a #N/A, the other two a #VALUE.
What am I doing wrong?
20210322 Electric usage log 04-2018 to 02-2021.xlsx | ||||||
---|---|---|---|---|---|---|
C | D | E | F | |||
5 | City | Population | ||||
6 | Tokyo | 37,435,191 | #N/A | |||
7 | Delhi | 29,399,141 | #VALUE! | |||
8 | Shanghai | 26,317,104 | #VALUE! | |||
9 | Mexico City | 21,671,908 | ||||
10 | New York City | 8,622,357 | ||||
11 | Los Angeles | 4,085,014 | ||||
12 | San Jose | 1,036,242 | ||||
Populations |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F6 | F6 | =XLOOKUP("Delhi",Populations[City],Populations[Population]) |
F7 | F7 | =XLOOKUP("delhi",Populations[City],Populations[@Population]) |
F8 | F8 | =XLOOKUP("delhi",Populations[City],2) |
These formulas all get errors. The first gets a #N/A, the other two a #VALUE.
What am I doing wrong?