• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Lookup multiple values and combine in a cell

Ateeb Ali

Member
Dear Excel Ninjas
I need one help, attaching file, I am using excel 2010 so textjoint function for me.
Need a formula for a big data (around 15000 rows), look up multiple values against a match and show result in a cell with ","
Also if duplicate entries then show only once.


Regards
 

Attachments

  • chandoo.xlsx
    10.4 KB · Views: 3
Try this helper column formula solution of which suit with your Excel 2010,

1] In "Rvd" sheet helper column C2, formula copied down :

=IF(A3="","",VLOOKUP(A3,Rcvd!B:C,2,0))

2] In "Data" sheet C3, formula copied down :

=IF(A3="","",VLOOKUP(A3,Rcvd!B1:C16000,2,0))

Remark : Hide helper column or, set helper column cell font to white color as per your own need.

79227
 

Attachments

  • MergeData (BY).xlsx
    12.4 KB · Views: 3
Sir, thank you so much
Still there is issue, as I mentioned I have big data and I have done some examples in attachment, the date is not sorted out so It is giving wrong results
 

Attachments

  • Revise Merge Data.xlsx
    16.2 KB · Views: 2
Sir, thank you so much
Still there is issue, as I mentioned I have big data and I have done some examples in attachment, the date is not sorted out so It is giving wrong results
My revised formula result can obtain the result as same as the Pivot Table result (Col. F to Col G),

but unable to get your expected result (Col D) as show in D3 and D4

Sorry, I don't had the other way to solve your problem, and expected somebody can join us to give you help

79232
 
Last edited:
You can accomplish using Power Query. Join your two tables and add a text.combine function. See the attached.79238
 

Attachments

  • chandoo.xlsx
    122.8 KB · Views: 3
Last edited:
Back
Top