+ Reply to Thread
Results 1 to 6 of 6

Slicer_Subtotal_countif_question

  1. #1
    Registered User
    Join Date
    07-11-2016
    Location
    usa
    MS-Off Ver
    2016
    Posts
    78

    Slicer_Subtotal_countif_question

    Hi folks,

    I am trying to find a formula to return the count of displayed rows in a filter. I know we use the subtotal function for this, but i have to incorporate two more conditions inside the subtotal function. For example..this is my scenario(refer attached sheet)
    If i want to see the count of rows where columns A(status) = "Open" and Column C(Year)=2017 and Column D(Country)="US" when i apply this filter, i only want to count the displayed rows based on this condition.Kindly help
    Attached Files Attached Files

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Slicer_Subtotal_countif_question

    Hi

    I suppose you want this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-11-2016
    Location
    usa
    MS-Off Ver
    2016
    Posts
    78

    Re: Slicer_Subtotal_countif_question

    Hi Jose,

    Still not working
    If i want to get a specific status for eg in this case Status = "Open", how do i add it to the formula?

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Slicer_Subtotal_countif_question

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

  5. #5
    Registered User
    Join Date
    07-11-2016
    Location
    usa
    MS-Off Ver
    2016
    Posts
    78

    Re: Slicer_Subtotal_countif_question

    THAT WORKED !! One last quick question..i wanted to see just the number of records for one particular column, for eg i want to see all records for Year = 2017 in my sheet. I tried using this formula:
    =SUBTOTAL(3,Table1[year]=2017) but it is giving me an error. Any ideas Jose?

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Slicer_Subtotal_countif_question

    Hi
    You can use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    to solve your problems

+ 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