Countif with Filter
Amazing chart utilities from Jon Peltier
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Countif with Filter

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    72
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I should know this, but it's escaping me right now, so..

    I've got c13000 rows, with an IF function in Column D that I've filtered to show the #N/A results. From these, I want to count the number of rows where Column A shows Y. A Countif highlighting the filtered cells of column A picks up ALL of the Ys between the first and last filtered cells - how can I write this to show the total of Ys in Column A when Column D has #N/A?

    TIA

  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi JW

    You will no doubt be shown various array formulas for this, I suggest strongly againts them!!

    Try this better method:

    Copy the heading of Column A to Cell G1, Copy the heading of column D to cell H1
    In G2 put Y
    In H2 put #N/A

    In any cell put:

    =DCOUNTA(A1:D5000,4,G1:H2)


    I ahve some more advanced examples of these great function here:
    http://www.ozgrid.com/download/default.htm

    Under:
    DFunctionsWithValidation.zip







  3. #3
    Board Regular
    Join Date
    Mar 2002
    Posts
    72
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thanks, that did it!

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com