+ Reply to Thread
Results 1 to 12 of 12

Advance Filtering question?

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    gray
    MS-Off Ver
    excel 2007
    Posts
    52

    Advance Filtering question?

    I am attempting to use the advanced filtering options in Excel 2010. I am not having any luck despite following the instructions I found online. Please see attached spreadsheet. I am trying to filter out any row that contain all Zeros.

    I must be setting the filter range incorrect or something because nothing happens when I apply the filter. Could someone review and let me know what I am doing wrong?

    These are the steps I followed:

    when I click on advance filter, I receive a warning about my header row, which I tell it to use as labels and not as numbers.
    my list range is set to $C$95:$N$269
    my criteria range is set to $C$7:$N$270
    'filter in place'

    Thank you for your help. Terri
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Advance Filtering question?

    I think you need to set up the criteria for each header in new rows... when you put them beside each other in same rows, it means OR rather than AND.

    See attached and test. (note: you have to select the titles in your database for the source, and the titles in the criteria too....
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Advance Filtering question?

    Note: You can also use <>0 so that you need only one condition per header, reducing number of total rows used for conditions.

  4. #4
    Registered User
    Join Date
    04-15-2011
    Location
    gray
    MS-Off Ver
    excel 2007
    Posts
    52

    Re: Advance Filtering question?

    It still isn't working. I used NBVC suggestion of using <>0, I added additional rows and put the condition on a separate line for each column, I also included the column labels in both the list range and criteria range - I still don't get any filtering. See attached. Thanks
    Attached Files Attached Files

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Advance Filtering question?

    It worked for me.

    Select from C15 to N73, go to Data|Advanced filter... for Criteria, select from C1:N13

    Click Ok... it should work.

    I attached a copy after filtering.
    Attached Files Attached Files

  6. #6
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Advance Filtering question?

    Clear your whole criteria range, including headers.
    Enter this in C2:
    =SUM(C16:N16)>0

    Now advanced filter your data using C1:C2 as the criteria range.
    Good luck.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Advance Filtering question?

    How about if the total sum is negative? Should it be included or not?

    Maybe that should be:

    =SUM(C16:N16)<>0

    also, if by chance you want to filter only if some of the column entries are 0, then you need to revert to the separate column idea...

  8. #8
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Advance Filtering question?

    If negatives are an option, then we should probably use COUNTIF in case the negatives cancel out the positives:
    =COUNTIF(C16:N16,0)<>12

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Advance Filtering question?

    Good point

  10. #10
    Registered User
    Join Date
    04-15-2011
    Location
    gray
    MS-Off Ver
    excel 2007
    Posts
    52

    Re: Advance Filtering question?

    Excellent - perfect solution to an issue I have been having for months! Thanks. It worked exactly as I want.

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Advance Filtering question?

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  12. #12
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Advance Filtering question?

    Glad to help. Please don't forget to mark the thread Solved - see FAQ link at the top of the page.

+ 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