=LOOKUP not working correctly
Hello,
I have multiple sheets that need to use this exact =LOOKUP function, but I cannot get it to work correctly.
See LOOKUP Table.jpg for the data, TC1 = left column, TC2 = right column, rows 17-22
See LOOKUP Problem.jpg for what gets displayed: TC Class = Left column, TC Class $ = right column
The formula in TC Class $: =LOOKUP([TC Class]@row, $[TC1]$17:$[TC2]$22, 2)
Why do "#NO MATCH" and incorrect values show up?
Answers
-
Hi @jb@59069
There's an optional setting at the end of a VLOOKUP function to specify if you're looking for an exact match or approximate match. I notice you haven't specified this in your formula, so it will default to approximate. Try adding "false" to the end of your formula to ask it to find an exact match, like so:
=VLOOKUP([TC Class]@row, $[TC1]$17:$[TC2]$22, 2, false)
See here for more information: VLOOKUP Function
If this hasn't resolved the issue, I'd be interested to see if an INDEX(MATCH formula would find the match, instead.
Try this:
=INDEX($[TC2]$17:$[TC2]$22, MATCH([TC Class]@row, $[TC1]$17:$[TC1]$22, 0))
Let me know if either of these have worked for you!
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
-
This content has been removed.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!