+ Reply to Thread
Results 1 to 6 of 6

Add multiple named ranges in data validation for selection

  1. #1
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Add multiple named ranges in data validation for selection

    I know in one of my past threads I have an answer that would probably solve this for me, but after performing a search I just can't find that thread.

    I use the below in a custom list in data validation which works fine for two named ranges, but I need to add more references than two.

    Please Login or Register  to view this content.
    I tried something like

    Please Login or Register  to view this content.
    but data validation does not accept this.

    Can I get a shove in the right direction?
    Last edited by jeffreybrown; 01-21-2012 at 01:41 AM.
    HTH
    Regards, Jeff

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Add multiple named ranges in data validation for selection

    Can't test just now but could you use MATCH and CHOOSE ... or CHOOSE and MATCH depending on how you think about it.

    Regards, TMS
    Last edited by TMS; 01-21-2012 at 11:49 AM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,261

    Re: Add multiple named ranges in data validation for selection

    Hey Jeff,

    Are you talking about Cascading Validation?
    http://www.bluepecan.co.uk/excel_tra...alidation.html or
    http://excel-user.blogspot.com/2011/...ion-lists.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Add multiple named ranges in data validation for selection

    Thanks Marvin and TMS...

    Got it worked out. There was a gremlin in the spreadsheet and now that I have evicted him I'm going to use the Indirect method of cascading validation.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Add multiple named ranges in data validation for selection

    Hi Marvin and TMS,

    I finally found the thread I was referring too, so after finding the thread and a good nights sleep...TMS, you were right on for what I was seeking.

    =CHOOSE(MATCH(G2,I1:K1,0),DV_CIV,DV_CME,DV_MIL)

    Thanks again to both of you for your help and interest

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Add multiple named ranges in data validation for selection

    You're welcome. Thanks for the rep. TMS

+ 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