Return values in comma separated format when specific text is found in a string

webarnes99

New Member
Joined
Jun 10, 2024
Messages
6
Office Version
  1. 365
Platform
  1. MacOS
I have a list of IDs that I want to put into a single field in a comma separated format based on a condition where specific text is found. I have attached a screenshot of the dataset. I want the mediaIDs to be the coma separated values and I am looking for specific text in the categories column. Any help is very much appreciated.
 
You can try this for individual formulas. Note the references on Tab 2 need to be locked.
Excel Formula:
=TEXTJOIN(", ",,(FILTER('Tab2'!$D$3:$D$15,ISNUMBER(SEARCH(A3,'Tab2'!$E$3:$E$15)),"")))
 
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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