+ Reply to Thread
Results 1 to 4 of 4

Filtering validation lists in drop down boxes

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    Germany
    MS-Off Ver
    Excel 2003
    Posts
    2

    Filtering validation lists in drop down boxes

    Hi

    I have a table with two columns:

    a | 1
    b | 2
    c | 2
    d | 2
    e | 1


    I want to create a dropdown box for data validation, where the values of the first column will be offered as validation.
    This list should be able to be filtered. So for example, i want to show all values with the value 2 in the second column.
    So the dropdown list should offer the values b,c,d

    How can I do that?

    Thanks in advance !

  2. #2
    Registered User
    Join Date
    06-16-2010
    Location
    India, Pune-411006
    MS-Off Ver
    Excel 2007/2010
    Posts
    89

    Re: Filtering validation lists in drop down boxes

    Hi, You can use IF function in validation, please refer attached file.
    Attached Files Attached Files
    /Rgds,
    Ganesh Pitale

  3. #3
    Registered User
    Join Date
    06-26-2013
    Location
    Germany
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Filtering validation lists in drop down boxes

    Hi Ganesh

    thank you. That would do the required function but I actually have the problem, that the table contains several hundred of rows.
    What I showed was an example.... The amout of rows is not fixed, so it will grow and therefore I need a generic solution, because
    it would be too much work to specify each value.

    I thought may be using the offset( and count() ) function but I am stuck how I could apply a filter within that construct....

    Any ideas?

    Thank you!

  4. #4
    Registered User
    Join Date
    06-16-2010
    Location
    India, Pune-411006
    MS-Off Ver
    Excel 2007/2010
    Posts
    89

    Re: Filtering validation lists in drop down boxes

    Hi, As you mentioned attached is the sample file, you can update your data in the column H and I accordingly and drag the formulas in highlighted yellow cells (from col "J" to col "M") till last row of the your data and get results.

    Hope its solve your query.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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