select from list

apgmin

Board Regular
Joined
Mar 1, 2010
Messages
150
Office Version
  1. 2013
Platform
  1. Windows
In Column A1 to A500, I have address mentioned, In these the state is also mentioned
In column C1 to C50 I have the list of states

I want adjacent to Cell A1 that is in Cell B1 the state name from Cell A1 that will be picked from the list mentioned in List C1 to C50

Thank ytou in advance
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Please try this

Book2
ABC
12404 Jackman Street, Turqoise Nevada, 01234NevadaAlabama
2Alaska
3Arizona
4Arkansas
5California
6Colorado
7Connecticut
8Delaware
Sheet1
Cell Formulas
RangeFormula
B1B1=LET(Ary,TEXTSPLIT(SUBSTITUTE(A1,",","")," "),Mtch,MATCH(1,COUNTIF($C$1:$C$50,Ary),0),INDEX(Ary,,Mtch))
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,335
Members
452,636
Latest member
laura12345

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