ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   vlookup and concatenate multiple occurences (https://www.excelbanter.com/excel-discussion-misc-queries/191571-vlookup-concatenate-multiple-occurences.html)

jlclyde

vlookup and concatenate multiple occurences
 
Hello all,
I am trying to do a vlookup with multiple occurences of the same
value, then return the next column over concatenated with all of the
other occurences. For instance. If I had A1 = 1 A2 =1 and A3 = 2.
If B1 = Dog, B2 = cat, and B3 = gopher. If I were looking up 1 in
column A there are 2 occurences so i woudl want it to return Dog,
Cat. Can this be done, or do I need a for next loop?
Jay


All times are GMT +1. The time now is 03:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com