+ Reply to Thread
Results 1 to 16 of 16

AutoFilter

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2009
    Location
    Orlando, FL, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    AutoFilter

    hey guys,

    I was wondernig if someone could assist me with an issue I am having with the auto filter options in excel. For some reason it is only sorting up to row 140. Does anyone have any idea why it would be doing this?

  2. #2
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    re: AutoFilter

    If there is any empty cells it might cause problems.

  3. #3
    Registered User
    Join Date
    01-28-2009
    Location
    Orlando, FL, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: AutoFilter

    The ones that aren't being filtered do have stuff in them but it isn't sorting accordingly.

  4. #4
    Registered User
    Join Date
    05-06-2009
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: AutoFilter

    What do you mean by sorting? I have to agree with ncmay, that if there are any blank rows in your data, the auto filter will not work past them. When ever I have this, I sort the data first and delete all the blank rows, then I can use the autofilter without problems.

  5. #5
    Registered User
    Join Date
    07-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: AutoFilter

    Just go in to Advance Filter which opiton is next to Auto adn filtered it it will filtered the whole Sheet coloum of excell which u select.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: AutoFilter

    that if there are any blank rows in your data, the auto filter will not work past them
    thats not the case,mine works fine
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  7. #7
    Registered User
    Join Date
    05-06-2009
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: AutoFilter

    Quote Originally Posted by martindwilson View Post
    thats not the case,mine works fine
    Even when the ENTIRE row is blank? I come across this problem all the time. Does it just seem to be the blanks that are the problem?

    ----
    and Excellent tip, Romper, about highlighting the entire data, rather than just the top row!!
    Last edited by kellyfspringer; 07-28-2009 at 09:52 PM.

  8. #8
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: AutoFilter

    hi all,

    As Kelly questioned "what do you mean by sorting?", "Sorting" & "Filtering" are two separate & different functionalities in Excel.

    Assuming you mean that the rows aren't being filtered below row 140...

    If a single cell (or the header row) is selected then the range of the autofilter is "guessed" by Excel. I think it uses the "currentregion" (ie the area around the current selection that is bordered by empty cells) to try & identify the appropriate range. You can get the address of the range used by the autofilter through the VBE's Immediate pane:
    choose the sheet that the autofilter is on.
    in Excel, press [alt + F11] to open the VBE.
    press [ctrl + g] to open the Immediate pane in the VBE
    type
    ?activesheet.AutoFilter.Range.Address
    & press [enter] to give the answer.

    To fix your current problem & to be certain that all the necessary rows are included, I suggest removing your current autofilter, selecting the entire range* (not just the headers) before re-applying the Autofilter. Now any new data rows that are added directly below the initial range become included in the autofilter range, however new data rows aren't added to the autofilter range if a blank row is between the existing range & the new data.

    *Any blank rows in the initial range will now be included in the range acted on by the autofilter.

    hth
    Rob
    Last edited by broro183; 07-28-2009 at 07:02 AM. Reason: hopefully I've improved clarity?
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  9. #9
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: AutoFilter

    Rob,
    Just FYI, from 2003 onward, there are sort options built into the Autofilter dropdowns.
    Everyone who confuses correlation and causation ends up dead.

  10. #10
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: AutoFilter

    Good point Romper & apologies to KetchupGuy, I am playing in 2002 at the moment & had forgotten about that option in 2003.

    Rob

  11. #11
    Registered User
    Join Date
    05-31-2009
    Location
    Europe
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: AutoFilter

    Hi
    I have similar problem: auto filter does not work past row60, and blanks are not the problem (before 60 they are not displayed and after anything is displayed)
    Attached is the file with confidential info deleted (I sort those for "yes")
    I use excel 2003
    Attached Files Attached Files

  12. #12
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: AutoFilter

    przemkeYour post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  13. #13
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: AutoFilter

    If an entire row or column within the data is blank then that row or column will be the limit of the filter

  14. #14
    Registered User
    Join Date
    05-31-2009
    Location
    Europe
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: AutoFilter

    Thank you RoyUK for the remark. However I have to say I am aware of that forum rule, but I noticed it's like exactly the same problem that discussion was about.
    OK and thanks for actually solving my problem ! :D

  15. #15
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: AutoFilter

    If an entire row or column within the data is blank then that row or column will be the limit of the filter
    is that a 2003 thing ? its certainly not true in 97 or 2007 or are we at cross purposes here?

  16. #16
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: AutoFilter

    It should depend on what you select to start with. If you select one cell, then you'll get the current region (which will stop at a blank row); if you select all the data first, you'll be fine.

+ 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