How to Concatenate multiple cells into a single cell within a VLOOKUP formula?
I've created a VLOOKUP formula to pull in data from a source smartsheet, into a 'staging' smartsheet but, if more than one row match the criteria, only the first row entered in the source smartsheet get entered into the cell on the 'staging' smartsheet.
For instance, I'm looking for entries on the source smartsheet that meet a specific 'week-ending date' but, if the source smartsheet has multiple rows meeting the 'week-ending date' criteria, only the first row entered will be pulled into the 'staging' smartsheet. In my case, I would like to have the contents of all cells matching the criteria pulled into the single cell on the 'staging' smartsheet. I've looked at the JOIN and "+" functionality but can't figure out if/how to incorporate them in the VLOOKUP formula, since the content of the multiple rows in the source smartsheet is variable.
Can anyone help?
Thanks!
Dan.
Comments
-
can you post an image of what is going on? there could be a couple of different options here depending on the desired information.
-
@RossL, Attaching screen shot of the 'source' smartsheet containing two rows of data matching the criteria of the VLOOKUP formula, along with a screen shot of the 'staging' smartsheet, where only the first entry is pulled into each cell (vs. the two rows)
-
Try using a JOIN/COLLECT formula...
=JOIN(COLLECT({Range of Data you want to Join}, {Date Range}, [Week-Ending Date]23), " + ")
-
Good morning @Paul Newcome,
This is exactly what I was looking for.
Thank you for this 'pearl of wisdom'!!!
Dan.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 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
Check out the Formula Handbook template!