select from list

apgmin

Board Regular
Joined
Mar 1, 2010
Messages
143
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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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,215,096
Messages
6,123,074
Members
449,093
Latest member
ripvw

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