Data validation List from Cells

TLA

Board Regular
Joined
Jul 15, 2003
Messages
127
I can use a Data valiation list to create drop down and teh value in the drop down is the value in Cell A1 by putting =A1 in the list in the datavalidtion screen

IF I change the value in A1, the data valdiation changes automatically
However I want to do it with 2 values and It doesn't seem to work.
I want the cell drop down to contain the value in Cell A1 and the value in cell A2
If I enter =A1,=A2 in the data validation list it fails.

Is this possible?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

TLA

Board Regular
Joined
Jul 15, 2003
Messages
127
FOrgot to mettion, Yes I can use Named Ranges, but I have 30 pairs I need in 30 different cells and I didn't want to create 30 names ranges. Also the cells are not congruent (the values are in A2, D3 or A5 L7, etc), so the Named Range would be disjointed cells.
 

TLA

Board Regular
Joined
Jul 15, 2003
Messages
127
But the cells aren't congruent I added that in my reply. They are disjointed single cells.
 

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
As far as I know, Data validation can't use non contiguous cells.
You'll have to create the list elsewhere using contiguous cells.
 

TLA

Board Regular
Joined
Jul 15, 2003
Messages
127
Actually the noncongruent part is static, so what I am really after is the drop down to contain"

Value in Cell (A7) - or whatever cell
Other
N/A


the there is only dynamice value. Guess it just wont work as far as I can see I'll have to hide and build the table elsewhere
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,629
Messages
5,838,453
Members
430,549
Latest member
jayjay2022

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
Top