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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!