formula fill data validation from list without duplicated and blank

MKLAQ

Active Member
Joined
Jan 30, 2021
Messages
387
Office Version
  1. 2016
Platform
  1. Windows
hello
I need dynamic formula when I add in the list a new items then shows automatically without I have to specify the range with considering ignore the duplicated items or blank cells
the data validation is in b2 and the list in column a
thanks
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Something like this?

Note that it will not be possible without the extra column. Without office 365 dynamic arrays you will also need to ensure that the formula in column B is filled down far enough to return all entries. Beyond that, your only other option would be to use vba.

Second note, the formula in A4 is only there for the purpose of testing with a blank in the middle of the list. It is not required for the rest to work.
Book1
ABC
1ListSecond listValidation
2aab
3bb
4 d
5ae
6d 
7e 
8
Sheet3
Cell Formulas
RangeFormula
A4A4=""
B2:B7B2=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(list)/ISNA(MATCH(list,B$1:B1,0))/(list<>""),1)),"")
Named Ranges
NameRefers ToCells
list=OFFSET(Sheet3!$A$2,0,0,MATCH("zzz",Sheet3!$A:$A)-1,1)B2:B7
secondlist=OFFSET(Sheet3!$B$2,0,0,COUNTIF(Sheet3!$B:$B,">""")-1,1)B3:B7
Cells with Data Validation
CellAllowCriteria
C2List=secondlist
 
Upvote 0
thanks I thought it's possible do that by formula I find this way is not practical as you said I need vba
I have to wait for somebody provides me the macro does that
thanks for your try I appreciate that :)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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