+ Reply to Thread
Results 1 to 4 of 4

Countif in Subtotal

  1. #1
    Registered User
    Join Date
    04-09-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    25

    Countif in Subtotal

    I would like to use countif in subtotal. Or anyone can suggest other functions.

    when selecting specific values using filter button - Processing, Delivered, Pending counts are also updated base on filtered results.

    Please check attached jpg.
    countif-subtotal.png
    Last edited by lemuel; 11-06-2012 at 05:14 PM.

  2. #2
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: Countif in Subtotal

    Ah I apologize...I didn't process the filters. Ignore my reply...

    In G1:

    =countif(E:E, G1)

    Then drag that formula down into G2 and G3.

    If this is not what you're looking for, maybe post a sample workbook so we can play with it.
    Last edited by jake.masters; 11-06-2012 at 05:09 PM. Reason: Wrong answer...

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Countif in Subtotal

    If I understand you correctly, you want the count of Processing, Delivered, and Pending statuses for the visible records of a filtered list.

    If that's correct...
    Using your posted scenario:
    This regular formula calculates the count of visible "Processing" records
    Please Login or Register  to view this content.
    Copy that formula down through G3 to get the counts for Delivered and Pending statuses.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    04-09-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Countif in Subtotal

    thanks ron - it works.

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