+ Reply to Thread
Results 1 to 5 of 5

Thread: Autofilter doesn't work with SUBTOTAL formula

  1. #1
    Registered User
    Join Date
    08-16-2010
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Cool Autofilter doesn't work with SUBTOTAL formula

    Hi,

    I have a problem with Autofilter, when I put a SUBTOTAL formula in the rows of the data to be filtered. Every time I filter (on a column which doesn't have the SUBTOTAL formula in it), it takes into account only the range of the data minus 1 row.

    It has obviously something to do with the SUBTOTAL formula, because if I remove it filtering works correctly.

    See attached sheet...Does anybody have a solution for this?
    Attached Files Attached Files

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Apparently I can't say
    MS-Off Ver
    Apparently I can't say
    Posts
    8,274

    Re: Autofilter doesn't work with SUBTOTAL formula

    Not if you want to keep the table. If you convert to a range, it will work. SUBTOTAL is not really intended for use with columns, only rows, so the table automatically treats the last row as though it were a totals row.

  3. #3
    Registered User
    Join Date
    08-16-2010
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Autofilter doesn't work with SUBTOTAL formula

    If I convert to a range, I still have the same problem, please check my sheet and convert the table back to a range. You will see it doesn't work.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Apparently I can't say
    MS-Off Ver
    Apparently I can't say
    Posts
    8,274

    Re: Autofilter doesn't work with SUBTOTAL formula

    Sorry, I forgot that I had added the Totals row before I did the conversion. You need to have a row at the end that does not use the SUBTOTAL function.

  5. #5
    Registered User
    Join Date
    08-16-2010
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Autofilter doesn't work with SUBTOTAL formula

    Great! that did the job. Thanks a lot!

+ 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.2.0