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
[TABLE="width: 640"]
<tbody>[TR]
[TD]In another sheet(2):

[TABLE="width: 249"]
<tbody>[TR]
[TD="align: right"]14[/TD]
[TD] Delaware[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD] District of Columbia[/TD]
[/TR]
[TR]
[TD="align: right"]16[/TD]
[TD]Florida[/TD]
[/TR]
[TR]
[TD="align: right"]17[/TD]
[TD]Georgia[/TD]
[/TR]
[TR]
[TD="align: right"]18[/TD]
[TD] Guam[/TD]
[/TR]
[TR]
[TD="align: right"]19[/TD]
[TD] Hawaii[/TD]
[/TR]
[TR]
[TD="align: right"]20[/TD]
[TD]Idaho[/TD]
[/TR]
[TR]
[TD="align: right"]21[/TD]
[TD]Illinois[/TD]
[/TR]
[TR]
[TD="align: right"]22[/TD]
[TD]Indiana[/TD]
[/TR]
[TR]
[TD="align: right"]23[/TD]
[TD]Iowa[/TD]
[/TR]
</tbody>[/TABLE]


[/TD]
[/TR]
</tbody>[/TABLE]
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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
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
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,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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