matching column items within a group

Stephen09

New Member
Joined
Jun 30, 2008
Messages
3
Dear Forum,

I have three columns in Excel. Column A contains the names of various academic institutions. Almost all of these occur more than once. Column B contains the city or cities they belong to. Column C contains a list of cities, some of which are the actual cities the institution belongs to, some of which are not. I am looking for a formula for Column D which tells me if the value in Column C matches a value in Column B for a given academic institution.

Thank you for any guidance,

Stephen
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Jon von der Heyden

MrExcel MVP, Moderator
Joined
Apr 6, 2004
Messages
10,894
Office Version
  1. 365
Platform
  1. Windows
Hi Stephen

Welcome to the board.

=C2=B2

This will yield TRUE if the two values match, FALSE if they do not. Copy and paste this formula to end of range and then use autofilter (Data -> Filter -> Autofilter) to isolate those that do / do not match.

Regards
Jon
 
Upvote 0

Stephen09

New Member
Joined
Jun 30, 2008
Messages
3
Thanks for the quick reply, but my problem is that the values in Columns B and C do not always match up that cleanly. For example, the true city of affiliation may be located in column B7 and its corresponding city in C8.
 
Upvote 0

Jon von der Heyden

MrExcel MVP, Moderator
Joined
Apr 6, 2004
Messages
10,894
Office Version
  1. 365
Platform
  1. Windows
Hi Stephen

Could you possibly provide a sample of your data? See the 1st link in my signature to see the options available in terms of supplying sample data.

Please also elaborate a little - what are the criteria to determine a match?

Regards
Jon
 
Upvote 0

Stephen09

New Member
Joined
Jun 30, 2008
Messages
3
I hope I am posting this correctly:
State Profiles2.xls
ABCDEFGHIJKL
1AffiliationAFF_TRUE_CITYVP_PROFILE_CITY
2ABBOTTLABSABBOTTPKABBOTTPKForeveryaffiliationIwanttodetermineifthevaluesassociatedwiththat
3ABBOTTLABSNCHICAGONCHICAGOaffiliationfromColumnCmatchatleastonecorrespondingvalueforthat
4ACADATHENSATHENSTHEWOODLANDSaffiliationfromColumnB.
5ACADSINICAANHUILONGBEACH
6ACADSINICABEIJINGLONGBEACH
7ACADSINICABIJINGLONGBEACH
8ACADSINICACANTONLONGBEACH
9ACADSINICACHANGCHUNLONGBEACH
10ACADSINICACHENGDULONGBEACH
11ACADSINICADALIANLONGBEACH
12ACADSINICAFUJIANLONGBEACH
13ACADSINICAGUANGZHOULONGBEACH
14ACADSINICAGUIYANGLONGBEACH
15ACADSINICAHEFEILONGBEACH
16ACADSINICAJILINLONGBEACH
17ACADSINICAJILINPROVINCELONGBEACH
18ACADSINICAJILINGLONGBEACH
19ACADSINICAKUNMINGLONGBEACH
20ACADSINICALANZHOULONGBEACH
21ACADSINICANANJINGLONGBEACH
22ACADSINICANANKANGLONGBEACH
23ACADSINICAQINGDAOLONGBEACH
24ACADSINICASHANGHAILONGBEACH
25ACADSINICASHANXILONGBEACH
26ACADSINICASHENGYANGLONGBEACH
27ACADSINICASHENGYANYLONGBEACH
28ACADSINICASHENYANGLONGBEACH
29ACADSINICATAIPEILONGBEACH
30ACADSINICATOKYOIRVINE
31ACADSINICAWUHANLONGBEACH
32ACADSINICAXIANLONGBEACH
33ACCELRYSINCCAMBRIDGESANDIEGO
34ACCELRYSINCHOUSTONSANDIEGO
35ACCELRYSINCSANDIEGOSANDIEGO
36ADELPHIUNIVGARDENCITYGARDENCITY
37ADVDEVCORPBURLINGTONBURLINGTON
Sheet2
 
Upvote 0

Forum statistics

Threads
1,191,683
Messages
5,987,991
Members
440,124
Latest member
dippy_egg

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
Top