1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved Excel 2010: Limit validation list based on another cell

Discussion in 'Business Applications' started by gevans, Nov 26, 2015.

Thread Status:
Not open for further replies.
Advertisement
  1. gevans

    gevans Thread Starter

    Joined:
    Aug 26, 2004
    Messages:
    99
    I am using Excel 2010

    I want to limit a validation list based on the contents of Cell D4
    There are 4 lists possible based on the contents of D4:

    If cell is 1 = list (on datasheet tab) should be limited to range A42:A71 only

    If cell is 2 = list (on datasheet tab) should be limited to range A72:A87 only

    If cell is 3 = list (on datasheet tab) should be limited to range A88:A90 only

    If cell is 4 = list (on datasheet tab) should be limited to range A92:A93 only


    Thanks
     

    Attached Files:

  2. gevans

    gevans Thread Starter

    Joined:
    Aug 26, 2004
    Messages:
    99
    Soooo... is this possible or no?
     
  3. CodeLexicon

    CodeLexicon

    Joined:
    Oct 15, 2013
    Messages:
    503
    Yes, you need to set the different lists as different named ranges and then use a further named range to pull in the list you want based on the value of the cell.

    I've attached my test file and your database file, demonstrating what I mean. :)
     

    Attached Files:

    Last edited: Nov 27, 2015
  4. gevans

    gevans Thread Starter

    Joined:
    Aug 26, 2004
    Messages:
    99
    Thank you!!! Working great :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1161131

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice