Data validation dropdown list

gta1216

Board Regular
Joined
Apr 23, 2016
Messages
63
I have a dropdown list created from data validation. I'm trying to create a dropdown list that shows the abbreviation and on the right it shows the name of the US state. When the state is selected, only the abbreviation will be displayed in the cell. I do not want to use macro. Is this possible?

I currently have over 300 rows and over 30 columns of data that I want to convert.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
It is not possible to do exactly what you have described without a macro. The data validation dropdown list allows you to select a value for the cell from a list. The value you select becomes the value in the cell. You cannot select one value, but have the cell take on a different value. (Further, using data validation with a list means that the cell is restricted to values that are in the list, so I'm not sure you could do this even with a macro.)

An alternative would be to select the item from the list and then show only the abbreviation in another cell.

If you explain why you want to do it this way we might be able to offer additional options.
 
Upvote 0
Data validation is not mandatory. I am flexible with how to make this happen.

Is it possible to pick from a list of complete names, but only show the abbreviation? I prefer to avoid macro.
 
Upvote 0
Maybe something like this

+Fluff New.xlsm
ABCDE
1StateAbbreviation
2AlabamaALAlaskaAK
3AlaskaAK
4ArizonaAZ
5ArkansasAR
6CaliforniaCA
7ColoradoCO
8ConnecticutCT
9DelawareDE
10FloridaFL
11GeorgiaGA
12HawaiiHI
13IdahoID
14
Cases
Cell Formulas
RangeFormula
E2E2=VLOOKUP(D2,A2:B13,2,0)
Cells with Data Validation
CellAllowCriteria
D2List=$A$2:$A$13
 
Upvote 0
Something like this?
11.gif
 
Upvote 0
D1=USA(Alt+Enter)The United States of America
D2=UK(Alt+Enter)United Kingdom of Great Britain
you can create above text by formula.

The drop down list in B1 refer to D1:D2, and set the first row height just one row height, wrap text for B1, vertical alignment set to at the top.
 
Upvote 0
The drop down list in B1 refer to D1:D2, and set the first row height just one row height, wrap text for B1, vertical alignment set to at the top.
I see. So the full content is in the cell, but just not visible. Thanks.
 
Upvote 0
I see. So the full content is in the cell, but just not visible. Thanks.
Yes, the full contents still in the cell. You may cannot select or enter a string in one cell and the string will automatically change to another string without Macros or auto correction.
 
Upvote 0
D1=USA(Alt+Enter)The United States of America
D2=UK(Alt+Enter)United Kingdom of Great Britain
you can create above text by formula.

The drop down list in B1 refer to D1:D2, and set the first row height just one row height, wrap text for B1, vertical alignment set to at the top.

I think this should work. Can
Maybe something like this

+Fluff New.xlsm
ABCDE
1StateAbbreviation
2AlabamaALAlaskaAK
3AlaskaAK
4ArizonaAZ
5ArkansasAR
6CaliforniaCA
7ColoradoCO
8ConnecticutCT
9DelawareDE
10FloridaFL
11GeorgiaGA
12HawaiiHI
13IdahoID
14
Cases
Cell Formulas
RangeFormula
E2E2=VLOOKUP(D2,A2:B13,2,0)
Cells with Data Validation
CellAllowCriteria
D2List=$A$2:$A$13

I don't understand how this works.
 
Upvote 0

Forum statistics

Threads
1,214,868
Messages
6,122,005
Members
449,059
Latest member
mtsheetz

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