Is it possible to combine vlookup, join and collect AND reference an external sheet?
I'm trying to group information together from a second smartsheet, but the information requires a vlookup so a typical join/collect won't work.
In the first smartsheet I have a company ID in each row that I want to look up, and in the second smartsheet there are hundreds of rows that contain company IDs in the first column and other data in the other columns. There are often multiple matches for the company IDs, but I don't want to pull the IDs, I want to pull the 5th column to the right from the column containing the matching IDs. Then I want to concatenate the multiple matches together in one cell in the first sheet.
Thanks in advance if anyone can help me solve this!
Comments
-
I don't really understand why you need a vlookup for this, collect has it's own filtering ability. from what you are describing it should just be a join(collect. should look something like:
=join(collect([5th Column Sheet Reference],[ID Sheet Reference],[ID to look up]@row),",")
-
One slight adjustment to the above formula...
=join(collect({5th Column Sheet Reference},{ID Sheet Reference},[ID to look up]@row),",")
Cross sheet references will not have square brackets.
-
I am having an issue getting this formula to work for me.
Sheet "1.Master" where I want the consolidated information to go contains [Site No] column (unique identifier/primary column) and a column called "Zoning" among 50 some other columns. [Site No] column is the first column in this sheet.
Sheet "SitePolygons_Zoning" contains Site No (not unique) {SitePolygons_Zoning Range 2}, and Zoning{SitePolygons_Zoning Range 1}
Formula based on above is:
=JOIN(COLLECT({SitePolygons_Zoning Range 1}, {SitePolygons_Zoning Range 2}, [Site No]1), ",")
When I type in this formula into the column "Zoning" on sheet "1.Master" it says it is calculating, but nothing appears.
-
I tested your formula and it worked on my sheet as expected, so your syntax is correct. I would try logging out/in again to see if that helps, or accessing the sheet from a different browser. Try drag-filling it into a different cell, too, or creating a copy of the sheet and testing there.
I hope this helps!
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.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!