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.
-
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
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
- 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!