How to search if there is a match between pivot table results and comma separated list

mssbass

Active Member
Joined
Nov 14, 2002
Messages
253
Platform
  1. Windows
Data tab: I have some data with a column called provider which contains multiple provider names separated by a comma. (Some of these names may have a comma within the provider name (e.g. ABC HOME, INC, BEES, INC.)
Pivot tab: I have a pivot table showing me provider's names in a column

I need to flag a new column in my Data tab that says whether or not there is a match between my comma-separated values of provider names to the Pivot tab's pivot table provider name list...

almost like this formula (which is not working): IF(ISNUMBER(SEARCH(Pivot_tab'!$A$5:$A$70,Data_tab!AX2)),"yes""no")
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Wouldn't it be easier to compare the provider names to the values in the data source of your pivot table instead of trying to compare to the pivot table?
 
Upvote 0
provider names separated by a comma. (Some of these names may have a comma within the provider name (e.g. ABC HOME, INC, BEES, INC.)
Also, what would be the logic to decide if a comma is separating two providers or if the comma is within one provider name?
 
Upvote 0
Also, what would be the logic to decide if a comma is separating two providers or if the comma is within one provider name?
Good question - I finally had to do it manually by sorting the comma separated by name and used the find function to find each name in my pivot - took me about an hour but got it out...
 
Upvote 0
Wouldn't it be easier to compare the provider names to the values in the data source of your pivot table instead of trying to compare to the pivot table?
doesn't really matter I guess - the pivot table just grouped the provider names for me so instead of 5000 lines, I got around 30 to lookup
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,569
Members
449,038
Latest member
Guest1337

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