+ Reply to Thread
Results 1 to 4 of 4

Subtotal and Filter

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Goergia USA
    MS-Off Ver
    Excel 2007
    Posts
    102

    Subtotal and Filter

    Hi all,

    In need of some major help for a report due tonight.

    The below calculations fill my table with values based on distinct customer numbers (customer numbers are in column A)

    I created column C, because it counts the number of actual entries (that is, a customer number found in in Column A can have multiple entries)


    J7 formula:
    =COUNTIF(D10:D3000, "$0.00")


    K7 formula:
    =COUNTIF(F10:F3000, "$0.00")


    L7 formula:
    =COUNTIF(B10:B3000,"<$0.00")+COUNTIF(B10:B3000,">$0.00")-M7


    I now need to be able to see the total of entries in the table. But I cannot figure out how to combine subtotal and countif to produce a value.

    I need formulas for cells J8, K8 and L8

    For example, The number of customers with only $0.0 is 137. But how many entities? I need a formula that will use the countif formula to filter (=COUNTIF(F10:F3000, "$0.00") AND then subtotal the values found in column G.

    I am sorry if this is confusing.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Subtotal and Filter

    I am not sure I understand if you want a count of unique entities or a sum of G where C = 0. If the latter try this in J8.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Does this do what you want?
    Last edited by FlameRetired; 05-23-2018 at 10:49 PM.
    Dave

  3. #3
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Goergia USA
    MS-Off Ver
    Excel 2007
    Posts
    102

    Re: Subtotal and Filter

    You did it!! Works perfectly! Thanks a bunch!

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Subtotal and Filter

    Good deal! You're welcome and 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. filter and subtotal
    By lkdewald in forum Excel General
    Replies: 3
    Last Post: 09-29-2011, 03:38 PM
  2. filter and subtotal
    By MLC2 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-23-2011, 04:36 PM
  3. SUBTOTAL and Filter Mode
    By efernandes67 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-04-2010, 01:11 PM
  4. Filter and subtotal
    By rajendrakc in forum Excel General
    Replies: 5
    Last Post: 06-03-2010, 09:52 AM
  5. Apply filter then subtotal
    By staples in forum Excel General
    Replies: 5
    Last Post: 10-13-2009, 01:54 PM
  6. [SOLVED] SUBTOTAL and FILTER
    By confused in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2006, 09:10 AM
  7. Auto Filter + subtotal
    By KL in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-06-2005, 06:05 PM
  8. [SOLVED] Auto Filter + subtotal
    By alex in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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