Creating a dynamic drop down list

azizrasul

Well-known Member
Joined
Jul 7, 2003
Messages
1,304
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
I have a sheet that contains duplicated values in column A from which I want to create a dynamic drop down list without the duplicate values appearing. Is this possible?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
If you have version 365 you could use a combination of UNIQUE in an out of the way place and defined names where uniquelist in name manager =OFFSET(Sheet17!$K$3,0,0,COUNTA(Sheet17!$K:$K)). Wherever you use unique it would have to have nothing else in the column or the counta would return the wrong result.
scratchbook excel testing.xlsm
JKLM
311
422
533
644
755
866
977
1088
1199
121010
136
147
158
169
1710
Sheet17
Cell Formulas
RangeFormula
K3:K12K3=UNIQUE($J$3:$J$17)
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
M3List=uniquelist
 
Upvote 0
How would I change the formula if the value of 17 may vary as the user adds\deletes data in column J?
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

If you are using 365 then you could use
Excel Formula:
=UNIQUE(FILTER(J2:J1000,J2:J1000<>"","No Data"))
Also there is no deed to use a defined name, If the formula is in J2 you can just use =J2# in the data validation
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

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