+ Reply to Thread
Results 1 to 2 of 2

Data drop down with named ranges

  1. #1
    Forum Contributor
    Join Date
    01-06-2009
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    415

    Data drop down with named ranges

    hi
    is it possible to use named ranges for data validation drop down lists
    in cells b2:b7 i have colours and i have named them COLOURS
    in cells b20:b24 i have names and i have named them NAMES

    in cell m4 i want the drop down list to include COLOURS AND NAMES
    only im not getting the colours. i should be getting red,yellow, green etc and names the same but in the drop down box im getting NAMES rather than the names that mae that range

    when i do it the other way and use source it returns a message saying
    you may not use unions,intersections or array constants for data validation criteria

    anyone?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    If you can make the list contiguous, you can accomplish this. There's no need to separately name these two sets of choices when you need them to appear in a single dropdown, so give the whole range a single name:

    b2:b7 - COLOURS
    b8:b12 - NAMES
    b2:b12 - COLSNAMES

    Use =COLSNAMES as the validation list for M4.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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