VLOOKUP example provided in documentation does not appear to be correct?
Smartsheet VLOOKUP example does not seem to be correct. In the example VLOOKUP Function | Smartsheet Learning Center, unless I'm missing something, the first formula example "IF([In Stock?]1 = 1 (true), VLOOKUP(“T-Shirt”, [Clothing Item]1:Status3, 4))" defines the table starting "Clothing" column row 1 to "Status" row 3. It says to return the fourth column over which would return "In Stock?". Not "Green". Which is what is provided as the result. Am I reading something wrong? I'm seeing similar issues with other examples also.
Comments
-
Good catch.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
@Mark Cronk thanks for confirmation. I'm new to Vlookup on SS but not excel. I've been searching around for examples, which seems to be pretty light, and this one really got me scratching my head. Good to know my rendering of documentation is in the correct direction.
-
Thanks for pointing out this inconsistency! I've let our Help Content team know and we'll update the article so it doesn't create confusion in the future.
In the meantime, is there a formula the Community can help you with? If you're looking to create a VLOOKUP formula, may I suggest instead using a combination of INDEX(MATCH?
The reason being this will only look at the two relevant columns to find your data, versus needing to reference an entire range of a sheet.
An INDEX(MATCH works like this:
=INDEX({Column with value to return}, MATCH([Value to match]@row, {Column with value to match in the other sheet}, 0))
An Index Match with multiple criteria would be an INDEX(COLLECT (see this other Community post).
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!