+ Reply to Thread
Results 1 to 4 of 4

Advanced Filter to return Rows w/blank column

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Advanced Filter to return Rows w/blank column

    I have a worksheet which shows multiple tests and whether they are completed or not[code]Test 1 Person1 Test 2 Person2 Test 3...Person12
    I want to search for a specific test, e.g. pH which could be in any of the "Test" columns but only return it if it is not completed. The "Person" columns will be blank if no one completed the test.

    I set up the Advanced Filter criteria with all the appropriately labeled columns and for the Person columns, I put ="" but it is returning all rows which have pH in them whether they are completed or not. What should I be putting in the Person columns of the criteria to only return those rows which have the pH test but it is not completed.

    I attached an example of the criteria range and the filter window to help clarify (the full spreadsheet is huge)
    Attached Files Attached Files
    Last edited by ChemistB; 04-01-2009 at 01:14 PM. Reason: Added example file for clarity
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

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

  2. #2
    Registered User
    Join Date
    03-25-2009
    Location
    Boston, MA
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Advanced Filter to return Rows w/blank column

    You can add an "if" in another column, and then filter on that column's criteria. The "if" should look something like "=if(A2="",1,0)" and then filter all the "1's". Good luck.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Advanced Filter to return Rows w/blank column

    I already have too many columns. I think what I will do is set all the "empty cells" to hold " " and that I can do an advanced Filter on. I'm just surprised that there is no direct way to do an advanced filter with one of the criteria being that one cell is blank.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Advanced Filter to return Rows w/blank column

    After some research and trial and error, I solved the problem as so. I placed the appropriate test name in B2 (data validation dropdown) and for my advanced filter criteria, I removed the headers and used formulas like so
    Please Login or Register  to view this content.
    where the first colum references are test names and the second column will be blank if the test has not been completed. Solved!

+ 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