+ Reply to Thread
Results 1 to 5 of 5

Custom List Validation

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    13

    Custom List Validation

    I need a custom data validation drop down box - basically I have a table of name value pairs but I want filter the list in the drop down box such that I can only list names with a value less than that calculated in another cell.

    i.e.
    name value
    pick1 10
    pick2 20
    pick3 14
    pick4 13

    maxpick = 15
    then the list box should show pick1, pick3 and pick4

    What would be the best approach to do this? I would like to do it with list validation but maybe I have to use a control and some vba?

  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

    Re: Custom List Validation

    Like so.... see attached sample for a non-vba technique.
    Attached Files Attached Files
    _________________
    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!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Custom List Validation

    Did you try this?

  4. #4
    Registered User
    Join Date
    01-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Custom List Validation

    Yes - thank you. That works great.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Custom List Validation

    I have marked this thread solved for you.
    In the future please select Thread Tools from the menu above and mark the thread as solved. Thanks.

+ 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