Forum

Notifications
Clear all

Dynamic Drop down list that hides used Items

6 Posts
4 Users
0 Reactions
72 Views
(@michalis_2020)
Posts: 2
New Member
Topic starter
 

I am trying to create a dynamic drop down list that hides used Items for my staff.

For example: I have my data (staff names) on the cells M6:M63 (58 names). So i want to create a dynamic drop list for the cells A6:A20 & C6:C20.

On O6 cell i am trying to create a function

=FILTER(M6:M63;COUNTIF(A6:A20;M6:M63)=0) and work fine

but when I try to enclude C6:C20 as well

=FILTER(M6:M63;COUNTIF(A6:A20;C6:C20;M6:M63)=0)

i get the following message: "You've entered too many arguments for this function"

Any help please?

 
Posted : 18/05/2023 6:08 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Michalis,

Use this formula in cell O6 instead:

=UNIQUE(VSTACK(A6:A20,C6:C20,E6:E20,G6:G20,I6:I20,M6:M63),,TRUE)

Mynda

 
Posted : 18/05/2023 8:05 pm
(@keebellah)
Posts: 373
Reputable Member
 

@Mynda: is VSTACK reserved to Office 365? My Office 2021 does not recognize VSTACK()

 
Posted : 19/05/2023 2:02 am
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
(@michalis_2020)
Posts: 2
New Member
Topic starter
 

Hi, @Mynda Treacy

Thank you for your answer in a such sort notice. I have to apologize because i forgot to mention that I use Excel 2021 and not 365, so when I try your suggetion i get an error.

 
Posted : 19/05/2023 8:07 am
(@mynda)
Posts: 4761
Member Admin
 

In that case I would rearrange the data so that it is already stacked vertically because there is no easy way to stack it in a formula in earlier versions of Excel.

You should always store your data in a tabular format ( https://www.myonlinetraininghub.com/excel-tabular-data-format) because then you can easily summarise it with the built in Excel tools.

Mynda

 
Posted : 20/05/2023 11:12 pm
Share: