Share via

Data Validation & Lists Combined

Anonymous
2012-12-07T21:09:47+00:00

I have two named groups of data lists and I want to combine them into one list in the data validation window... one data group list is named "Substrates" and the second data group list is named, "Products."

In the data validation window, I have the drop down for "Allow=data list" and next I want to enter into the "Source" input space, the following:

Source=Substrates&Products

But Excel won't accept that syntax... what would be the right syntax for this?

Thanks!

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2012-12-07T21:28:35+00:00

Hi,

a data validation list is either in One Column eg A1:A10

or in One Row eg A1:K1

so, you can't 'add'  two separate lists

Was this answer helpful?

0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-03-26T20:18:24+00:00

    Hi,

    assuming that you want to merge two separate

    sections

    A1:D1 and A10:A20

    you will need a helper column say, W

    in W1 write

    =OFFSET($A$1,COLUMNS($A:A)-1,ROWS($1:1)-1)

    and drag down up to W4

    in cell W5 write

    =A10

    and drag down

    now,

    if you need define name

    select data in W1:W15,...ect

    next ...

    Data > Validation > Allow > List ... Source >....

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-03-26T18:08:26+00:00

    Apostolo55,

        I would be interested in your approach for "appending" lists.

    Thanks!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-12-18T20:57:38+00:00

    hi, can you use an intermediate column somewhere within your workbook? There is a way to "append" arrays but the result cannot be accepted in DataValidation, so you have to project the lists somewhere and let the DataValidation read them from there. Of-course the whole process is fully automatic, all is needed is a projection column with enough free columns to keep both lists (maybe hidden or in another sheet).

    If yes then let me know and I will show you how...

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2012-12-10T15:59:26+00:00

    Hi TasosK,

    My two lists are in fact both single columns, I was just hoping to the two column lists could be combined together in the data validation list/dropdowns. Guess there is no way to do that... I'll need to come up with another solution.

    Thanks!

    Was this answer helpful?

    0 comments No comments