Make data validation list dependent on cell value

nicke_swe

New Member
Joined
Jun 1, 2012
Messages
3
Hi,

I have a list of products with a code structure looking like the following;
"XXXX Name" where X is a number.

The user should be able to pick the correct product from a data validation list, but since there are more than 1000 different products I would like to make it easier for the user to find the correct one.

Therfore I'm thinking of making it possible for the user to enter for example the to first number of the productcode in a cell and in data validation cell show a list only containing the choices starting with the number entered by the user.

Code:
Cell A1=12
Cell A2 (data validation)=1200 Apple, 1211 Banana, 1212 Lemon, 1223...

Cell A1=121
Cell A2 (data validation)=1211 Banana, 1212 Lemon

What is the most efficient way of doing this?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Thank you for the quick reply, but to my understanding that will not work since I want the user to be able to enter one, two, three or even four numbers of the code, and hence drill deeper into the structure and limit the choices even further.
 
Upvote 0
I'm trying to stay away from Macros if possible due to the security warnings which are making users nervous.
 
Upvote 0

Forum statistics

Threads
1,207,199
Messages
6,077,021
Members
446,251
Latest member
dpf220

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