+ Reply to Thread
Results 1 to 4 of 4

Sumproduct/Sumif/Subtotal with a Filter

  1. #1
    Registered User
    Join Date
    01-27-2014
    Location
    Michigan
    MS-Off Ver
    Excel 2013
    Posts
    8

    Sumproduct/Sumif/Subtotal with a Filter

    Subtotal Question.xlsx

    In the attached sheet I'd like a subtotal that displays based on the table's filter.

    I've tried to make sumproduct with offset, but can't make it work.
    Last edited by wf44; 01-27-2014 at 11:10 AM. Reason: Solved

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumproduct/Sumif/Subtotal with a Filter

    Try these:

    =SUMPRODUCT(SUBTOTAL(9,OFFSET(G2,ROW(G2:G20)-ROW(G2),0)),--(F2:F20="Direct"))

    =SUMPRODUCT(SUBTOTAL(9,OFFSET(G2,ROW(G2:G20)-ROW(G2),0)),--(F2:F20="Indirect"))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    01-27-2014
    Location
    Michigan
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Sumproduct/Sumif/Subtotal with a Filter

    Perfect. Thank you very much.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumproduct/Sumif/Subtotal with a Filter

    You're welcome. Thanks for the feedback!

+ 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. Sumproduct subtotal filter count only bold cells
    By RxMiller in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-19-2011, 05:28 PM
  2. Formula : SUMIF & SUBTOTAL after filter?
    By Overdoit in forum Excel General
    Replies: 3
    Last Post: 07-09-2008, 03:22 PM
  3. SUMPRODUCT and (perhaps) SUBTOTAL with AUTOFILTER
    By Donovan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2006, 07:06 PM
  4. [SOLVED] SUMIF SUBTOTAL OR SUMPRODUCT?
    By CHRIS K in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2005, 01:05 PM
  5. Subtotal - Can I use Sumproduct ?
    By guilbj2 in forum Excel General
    Replies: 4
    Last Post: 05-30-2005, 06:05 PM

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.6.0 RC 1