Find matches in two spreadsheets and result is the match or count.

pbundrant

New Member
Joined
Jul 10, 2015
Messages
19
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I've been researching my question all over the place. I have two sheets. One has a list of folks who stated their state or city and/or both. I am trying to match the list I have in another sheet with states, territories and cities with whatever matches and get a count.

In one sheet(1):

1 Kentucky
2 New York
3 Oklahoma
In another sheet(2):

14 Delaware
15 District of Columbia
16Florida
17Georgia
18 Guam
19 Hawaii
20Idaho
21Illinois
22Indiana
23Iowa

<tbody>
</tbody>



<tbody>
</tbody>
I want a total of how many states match anywhere in the line of sheet one, either by full state name or abbreviations, including territories, to sheet two and return either the count or the value that matches. I've tried so many formulas and none work. Please help.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Your exhibits do not show the variation your description implies. Recall that not everyone is familiar with the US geography and the US naming conventions.
 
Upvote 0
Couldn't leave that there.
 
Last edited:
Upvote 0
I want to pull the text that matches the list on the States sheet onto a column in order to get a count from states and cities and territories, if any.

In separate columns of course.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,108
Members
449,205
Latest member
ralemanygarcia

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