+ Reply to Thread
Results 1 to 5 of 5

Data Validation - using visible rows from filtered list

  1. #1
    Registered User
    Join Date
    11-15-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    97

    Data Validation - using visible rows from filtered list

    Hi,

    I am working on application and need help with a problem I am facing. I have attached a sample file to provide more clarity to my problem.

    I have a list with 2 columns. Column A is the PO No. and column B is the status of the PO.

    To enable the user to select a PO, I need to provide a drop down list (cell E12) that contains only the PO Numbers that are not closed. I tried to apply the filter to show only the open PO. However even with this, the drop down list in cell E12 list all the PO numbers including those with status "closed".

    How can I get the data validation list in cell E12 to show only those PO numbers that do not have the status "closed" ?

    Any help will be greatly appreciated.

    Thanks in advance for your efforts.

    Anand
    Attached Files Attached Files
    Last edited by anandvh; 08-17-2012 at 06:16 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Data Validation - using visible rows from filtered list

    Anand,

    Attached is a modified version of your provided workbook. In column I is a list of just the PO's that do not have "Closed" in column B. To get that list, in I2 and copied down is this formula:
    Please Login or Register  to view this content.

    Then I created a dynamic named range to pick up the just the list of Open PO's without any blanks. I named the range OpenPOs and defined it with this formula:
    Please Login or Register  to view this content.

    Then, I set the data validation list in cell E12 to:
    Please Login or Register  to view this content.

    Does that work for you?
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-15-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    97

    Re: Data Validation - using visible rows from filtered list

    Thanks Tigeravatar for the efforts. This seems to be a solution. The only doubt that I have is whether the formula can be on another sheet so that it does not interfere with the main table

    Anand

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Data Validation - using visible rows from filtered list

    You can put it on another the list on another sheet. It would look like this if it was in Sheet2 column A with the formula starting in A2 and copied down:
    Please Login or Register  to view this content.
    And then update the dynamic named range formula to reflect the new sheet name and column

  5. #5
    Registered User
    Join Date
    11-15-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    97

    Re: Data Validation - using visible rows from filtered list

    thanks tigeravatar. Tried out your solution and it seems to be working. I think I will try this out for now. I may come back to the forum if I run into any other problems when using this.

    Anand

+ 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