+ Reply to Thread
Results 1 to 7 of 7

How to setup a Defined Name with the merge of two (named) lists

  1. #1
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    How to setup a Defined Name with the merge of two (named) lists

    Hi experts!

    I need basically to have a one list out of two. Both listed are named as lstPlanningID and lstContactID

    I don't need to check if they are repeated or not. I just need them to be in one unique list so it can be used as a data validation entry (drop-drown list)

    Any idea how to do that?

    Best,
    Gerónimo

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to setup a Defined Name with the merge of two (named) lists

    As far as I'm aware you can't combine two named listsas a source for a data validation drop down.
    You will have to create a separate single list and use that.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    Re: How to setup a Defined Name with the merge of two (named) lists

    Thanks, Richard!

    How do I do it?

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2502
    Posts
    13,700

    Re: How to setup a Defined Name with the merge of two (named) lists

    I think we will need to see an example of what you are working with.

    Questions I anticipate from a formula perspective:
    • Are the ranges of lstPlanningID and lstContactID next to each other?
    • Are they the same size?
    • How are those ranges defined? Are they absolute ... dynamic named ranges ... mixed?
    • Other issues unforeseen.
    An uploaded Excel wb file (and not a pic or screen shot) saves everyone from guessing.

    If you are not familiar with how to do this:

    To attach a file to your post,
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”
    • be sure to desensitize the data
    The file name will appear at the bottom of your reply.
    Dave

  5. #5
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    Re: How to setup a Defined Name with the merge of two (named) lists

    Thanks, FlameRetired!
    • Are the ranges of lstPlanningID and lstContactID next to each other? No, they are in different sheets.
    • Are they the same size? No, the first one is around 12 rows and the second one around 5000.
    • How are those ranges defined? Are they absolute ... dynamic named ranges ... mixed? They are dynamic lists as they are built from defined tables. In the Name Manager these are their expressions: lstContactID=bdContacts[ContactID] and lstPlanningID=tblPlanningIDs[PlanningID]
    • Other issues unforeseen.

    I came up with this validation data sentence to look up the entry in both lists:

    Please Login or Register  to view this content.
    It seems to be working but now I have to change some INDEX&MATCH formulas that were using this code to lookup in both tables.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to setup a Defined Name with the merge of two (named) lists

    Quote Originally Posted by gerotutu View Post
    Thanks, Richard!

    How do I do it?
    Hi,

    I had assumed you would copy one list underneath the other. Or am I missing some subtlety in your request?

  7. #7
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    Re: How to setup a Defined Name with the merge of two (named) lists

    I wanted to make a unique list dinamically but I came up with that solution that worked. Thanks, Richard.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Two different drop down lists (with same named range) defined by one drop down list
    By Valkmi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-29-2016, 12:06 PM
  2. Dependent drop down lists without creating unique named lists
    By pajordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 12:20 PM
  3. Data Merge SetUp help
    By DoubleOZiggy in forum Excel General
    Replies: 0
    Last Post: 05-16-2011, 11:06 AM
  4. Excel merge setup
    By aimeeneedshelp in forum Excel General
    Replies: 0
    Last Post: 02-11-2011, 03:46 PM
  5. Defined Name & Validation Lists
    By sanity_1977 in forum Excel General
    Replies: 3
    Last Post: 10-02-2007, 05:45 PM
  6. [SOLVED] How do I setup multiple lists
    By wfrp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2006, 03:50 AM
  7. Use of pre-defined lists
    By Sandor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-26-2005, 06:08 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1