VLOOKUP with multiple returns
I have two dropdown columns, building and building code. I want to select a building and have the building code auto-populated referencing to another sheet. I used a simple VLOOKUP [=VLOOKUP(Building@row, {Buildings and Infrastructure Range 1}, 2, true)] and it works when I select one building. However, it only returns one building code when multiple buildings are selected.
I am wondering if there is a way to return multiple building codes when multiple buildings are selected.
Thanks!
Answers
-
You would need to use a JOIN/COLLECT instead.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hiya! I agree with Paul.
If you need an example structure, this article explains a JOIN(COLLECT combination, under the heading, "Gather all matching content into one cell": Formula combinations for cross sheet references
Note that your delimiter should be CHAR(10) in this instance, which is a line break or a separator between multi-select values.
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!