Multiple Criteria IndexMatch/ VLOOKUP with partial match

sberhalter

New Member
Joined
Feb 13, 2014
Messages
5
I have a file with all the state and cities that I need. I want to match the population of the US census dataset to the cities in my list but the cities are not in the same format. This task would be easy if there weren't multiple cities that show up in different state.

What I want the formula to do is to return the population of a city that partially matches the US census data only if the states match first. Basically I want to find match the partial name in column B to the list in column D and return the population from column E only if the states in columns A and C match. Otherwise I will have to do all of this manually.

Please help.

[TABLE="width: 531"]
<tbody>[TR]
[TD]Texas[/TD]
[TD]Abilene[/TD]
[TD]Arkansas[/TD]
[TD]Portland city[/TD]
[TD] 430[/TD]
[/TR]
[TR]
[TD]Ohio[/TD]
[TD]Akron[/TD]
[TD]Arkansas[/TD]
[TD]Portland city[/TD]
[TD] 430[/TD]
[/TR]
[TR]
[TD]Georgia[/TD]
[TD]Albany[/TD]
[TD]Connecticut[/TD]
[TD]Portland town[/TD]
[TD] 9,508[/TD]
[/TR]
[TR]
[TD]New York[/TD]
[TD]Albany[/TD]
[TD]Illinois[/TD]
[TD]Portland township[/TD]
[TD] 422[/TD]
[/TR]
[TR]
[TD]Oregon[/TD]
[TD]Albany[/TD]
[TD]Indiana[/TD]
[TD]Portland city[/TD]
[TD] 6,223[/TD]
[/TR]
[TR]
[TD]New Mexico[/TD]
[TD]Albuquerque[/TD]
[TD]Indiana[/TD]
[TD]Portland city[/TD]
[TD] 6,223[/TD]
[/TR]
[TR]
[TD]Louisiana[/TD]
[TD]Alexandria[/TD]
[TD]Indiana[/TD]
[TD]Portland city[/TD]
[TD] 6,223[/TD]
[/TR]
[TR]
[TD]Pennsylvania[/TD]
[TD]Altoona[/TD]
[TD]Maine[/TD]
[TD]Portland city[/TD]
[TD] 66,194[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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