INDEX Match throwing incorrect answers

I am trying to use a unique identifier by column, to reference another table that has that unique identifier in it and provide it's adjacent value from another column, by row.
This is the formula I'm using and it's giving me values in that list but the wrong value:
=INDEX({Hours}, MATCH([Combined Work Description]@row, {Comb. Work Description}))
Where Hours is on another sheet and is listing the hours value I want returned. The Combined Work Description is the unique value, then the Comb. Work Description is the entire column of options for what the row's value for Combined Work Description could be. What is going on????
Best Answer
-
Try adding the "search type" parameter into your MATCH formula and setting it to zero to force it to only find exact matches. The default setting for the MATCH formula finds close matches / assumes values in the range are sorted in ascending order. So, try:
=INDEX({Hours}, MATCH([Combined Work Description]@row, {Comb. Work Description}, 0))
See the MATCH function page for details:MATCH Function | Smartsheet Learning Center
Could also review the INDEX function to make sure it's how you want it:
Answers
-
Try adding the "search type" parameter into your MATCH formula and setting it to zero to force it to only find exact matches. The default setting for the MATCH formula finds close matches / assumes values in the range are sorted in ascending order. So, try:
=INDEX({Hours}, MATCH([Combined Work Description]@row, {Comb. Work Description}, 0))
See the MATCH function page for details:MATCH Function | Smartsheet Learning Center
Could also review the INDEX function to make sure it's how you want it:
-
@Courtney S. thank you!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!