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.

TexasAbileneArkansasPortland city 430
OhioAkronArkansasPortland city 430
GeorgiaAlbanyConnecticutPortland town 9,508
New YorkAlbanyIllinoisPortland township 422
OregonAlbanyIndianaPortland city 6,223
New MexicoAlbuquerqueIndianaPortland city 6,223
LouisianaAlexandriaIndianaPortland city 6,223
PennsylvaniaAltoonaMainePortland city 66,194

<tbody>
</tbody>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,214,968
Messages
6,122,506
Members
449,089
Latest member
RandomExceller01

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