+ Reply to Thread
Results 1 to 2 of 2

Count of filtered items

  1. #1
    Registered User
    Join Date
    09-30-2006
    Posts
    5

    Count of filtered items

    I Have a column of data. I apply Data Filter. And I hace a countif >0 funtion in A1. When I apply filter by selection the count still counts the entire column not the filtered items.

    Any ideas how I can count the filter?

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by EnglishDeath
    I Have a column of data. I apply Data Filter. And I hace a countif >0 funtion in A1. When I apply filter by selection the count still counts the entire column not the filtered items.

    Any ideas how I can count the filter?
    =SUBTOTAL(3,A:A)

    note, that counts filtered non-blank items, not 'countif >0'

    added

    =SUMPRODUCT(SUBTOTAL(3,OFFSET(C1:C15,ROW(C1:C15)-0,,1)),--(C1:C15>0))

    counts C1:C15 filtered >0

    ---
    Last edited by Bryan Hessey; 10-01-2006 at 07:24 PM.

+ 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