+ Reply to Thread
Results 1 to 3 of 3

sum formula with filters

  1. #1
    Registered User
    Join Date
    02-21-2017
    Location
    NY,NY
    MS-Off Ver
    2013
    Posts
    13

    sum formula with filters

    Hi all--

    I'm looking to implement a subtotal formula that updates depending on what filter I select.

    I've attached a sample file of where I am trying to use it.

    I want to have all of "FY18" add up depending on my filter, FY17, etc.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,373

    Re: sum formula with filters

    Can't see the formulae on an iPad but you're looking for =SUBTOTAL (109, range)
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: sum formula with filters

    As TMS mentioned, you can include SUBTOTAL to your existing formula like this: =SUBTOTAL(109,H24,H29,H34,...)

    or you can shorten the formula like this:

    H8 =SUMPRODUCT(SUBTOTAL(9,OFFSET($H$24,ROW($H$24:$H$1063)-ROW(H24),0)),--($G$24:$G$1063=$G8))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 07-15-2019, 03:06 AM
  2. Is it possible to limit pivot filters to only options that fit other filters?
    By Sleipner9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2015, 07:08 PM
  3. Using filters, and then unselecting filters. Organizing data.
    By lesoies in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-09-2013, 07:55 AM
  4. Replies: 4
    Last Post: 07-24-2012, 01:21 PM
  5. HELP: Need special filters or a formula !
    By Mr.Nob0OOdy in forum Excel General
    Replies: 1
    Last Post: 06-14-2012, 08:43 AM
  6. Help with three filters in formula
    By lorne17 in forum Excel General
    Replies: 6
    Last Post: 03-21-2012, 05:48 PM
  7. Filters and 'CountIf' formula
    By Killian12321 in forum Excel General
    Replies: 14
    Last Post: 01-26-2011, 08:29 AM

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