Need AGGREGATE to list when category is mixed up with others under one cell

opti_mind

New Member
Joined
Sep 22, 2016
Messages
2
Hello, I have a Data-Validation Drop Down on Cell A1 that contains Board Game Categories and whenever I click them, I need excel to pull all the Board Games associated with that category and list them down in COLUMN A. So far, my code is only pulling Board Games that has that specific category name singled out in one cell [see purple text in image]. I need excel to also pull Board Games when the category name is mixed up with other different category names under one cell [see red text in image].

This is the code on Cell A2, that I would appreciate any kind of help I can get with to get it to work. Thank You.

=INDEX($C$2:$C$156,AGGREGATE(15,6,(ROW($D$2:$D$156)-ROW($D$2)+1)/($D$2:$D$156=$A$1),ROWS(A$2:A2)))

49236679511_e5a1ae7d20_o.jpg
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi, welcome to your first post!

You could try like this.

=INDEX($C$2:$C$156,AGGREGATE(15,6,(ROW($D$2:$D$156)-ROW($D$2)+1)/ISNUMBER(SEARCH($A$1,$D$2:$D$156)),ROWS(A$2:A2)))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,139
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top