Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Create list of purchased items grouped by a parameter

So I would like to create list of products that purchased by the customers as described below.

On the first table, I have a list of Purchased Order like this.

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

On the different sheet, I would like to make a summary of items purchased by customer A, B, C, D, F, H into a single cell for each customer, like this:

enter image description here

On Sheet2, I use =UNIQUE filter to get list of unique customer from Sheet1. So what formula should I use on B2 to get output like that? I’ve tried out some textjoin or concatenate formula with =vlookup function, but it didn’t works.

>Solution :

You may try this in Cell_B2 of Sheet2:

=join(", ";filter(Sheet1!B:B;Sheet1!A:A=A2))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading