Setting up VLOOKUP correctly
Hello,
I have a source sheet that has a unique ID, and I use that as a reference to generate a number of references in a second sheet for extra details. I am using VLOOKUP to bring about 10 columns from the source sheet into the second sheet. The typical formula looks like this:
=VLOOKUP([AOP ID]@row, {2023 AOP Entry Range 1}, 7, false)
where the range is in the source sheet. I get why, but every time I insert a new column into the source table, it messes up my absolute column reference (in this case above, "7") and I have to go back a fix every vlookup. So now to the question:
I know there are some ways in excel do to INDEX and MATCH so I don't break my formulas every time. Is there something similar in SmartSheet? Apologies for the amateur question. I'm still getting my SmartSheet legs.
Thanks,
Brian
Answers
-
Yes INDEX MATCH exists in smartsheet and I highly recommend it for the reasons you stated.
=INDEX({data you want},MATCH(search value,{range},0))
-
So something like: =INDEX({2023 AOP Entry Range 1},MATCH([AOP ID]@row,{AOP ID from other sheet},0))
-
Yeah that's it. And I actually just found the answer in the help. I pulled the trigger and asked too soon. Thanks!
-
And a better detailed explanation here. https://community.smartsheet.com/discussion/84774/index-and-match-across-two-sheets-a-detailed-explanation/p1
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!