+ Reply to Thread
Results 1 to 3 of 3

Counting after Filter

  1. #1
    Registered User
    Join Date
    10-09-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    35

    Counting after Filter

    Hi,

    as the title suggests I'd like to apply a count to a sheet which adjusts when filtered. I have attached a sheet, but as you can see the filter is returning the incorrect count as it is including the rows which are not displyed
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,802

    Re: Counting after Filter

    Try using the countif function in column C

    Data Range
    A
    B
    C
    D
    E
    1
    Task
    Type
    2
    Task 1
    Dev
    Bug
    6
    =COUNTIF($B$2:$B$27,C2)
    3
    Task 2
    Dev
    Dev
    20
    4
    Task 3
    Dev
    5
    Task 4
    Dev
    6
    Task 5
    Dev
    7
    Task 6
    Dev
    8
    Task 7
    Bug
    9
    Task 8
    Bug
    10
    Task 9
    Bug
    11
    Task 10
    Dev
    12
    Task 11
    Dev
    13
    Task 12
    Dev
    14
    Task 13
    Dev
    15
    Task 14
    Dev
    16
    Task 15
    Dev
    17
    Task 16
    Bug
    18
    Task 17
    Dev
    19
    Task 18
    Dev
    20
    Task 19
    Bug
    21
    Task 20
    Dev
    22
    Task 21
    Bug
    23
    Task 22
    Dev
    24
    Task 23
    Dev
    25
    Task 24
    Dev
    26
    Task 25
    Dev
    27
    Task 26
    Dev
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,690

    Re: Counting after Filter

    or use the subtotal function:
    =SUBTOTAL(3,B8:B22)
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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. Counting instances in a filter
    By alimjiv in forum Excel General
    Replies: 4
    Last Post: 11-11-2011, 02:43 PM
  2. unique counting + filter
    By mammut89 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-03-2008, 01:30 PM
  3. counting number of results after filter
    By TTej in forum Excel General
    Replies: 4
    Last Post: 04-28-2008, 08:37 AM
  4. counting number of items after filter
    By paascal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2008, 03:00 PM
  5. Counting lines when using a filter
    By hagan in forum Excel General
    Replies: 8
    Last Post: 07-05-2005, 04:05 PM

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