+ Reply to Thread
Results 1 to 10 of 10

Sum according to Auto filter non visible cells

Hybrid View

  1. #1
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: Sum according to Auto filter non visible cells

    Here's another way...

    =SUMPRODUCT(--(B5:B25>5),SUBTOTAL(9,OFFSET(A5:A25,ROW(A5:A25)-ROW(A5),0,1)

  2. #2
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Sum according to Auto filter non visible cells

    Quote Originally Posted by Domenic View Post
    Here's another way...

    =SUMPRODUCT(--(B5:B25>5),SUBTOTAL(9,OFFSET(A5:A25,ROW(A5:A25)-ROW(A5),0,1)
    Thanks, Domenic.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum according to Auto filter non visible cells

    and as you no doubt know generally speaking Volatile Sumproducts will kill performance -- volatile here given use of OFFSET ... and obviously filtering is a Volatile action in it's own right (in part because of SUBTOTAL Function)

+ 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