VLOOKUP Confusion
jiwhite
✭
I'm very confused about how VLOOKUP has been implemented.
- Can the search value reference a value in another column in the current row, or can it only be a string enclosed in quotes? If it can only be a string, it makes the function pretty useless because I'd like to be able to lookup information based on data entered in a Form.
- Why does the column searched in the lookup table need to be the leftmost column? Why isn't this a parameter to allow searching existing sheets that were created before the function was implemented or that may need to be searched in multiple ways? Can the lookup table reference a report, which could alter the order of columns?
Tags:
Comments
-
Thanks for the questions.
- Yes, the search value can be a reference.
- While VLOOKUP requires the search term to be in the leftmost column, as an alternative you can use INDEX and MATCH to use any columns for your search and return values. I included information below about how to use them to perform lookups.
- You can use these functions to perform lookups on any sheets, including your existing sheets.
- Formulas can't reference data in reports at present.
Typical usage of INDEX and MATCH to perform lookups:
=INDEX(return_column, MATCH(search_value, lookup_column, 0))
-
Summary: Looks up a value and returns a corresponding value from the same row but a different column (same as VLOOKUP)
-
Arguments
-
return_column: The column of the value to return
-
search_value: The value to search for
-
lookup_column: The column in which to search
-
-
Index and Match worked for what I need. Thanks!
-
Whats the different between the return column and the lookup column??
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!