#1
|
|||
|
|||
Countif with filter
I have results from a survey that I would like to count to present in a chart. When I use
=COUNTIF(B2:B21;"3") that works fine. But if I want to use Filter on column A, the =COUNTIF Function displays even the outfiltered results. How can I count the displayed results only? Here is it in more detail: So for example I would like to see how many "Male" have answered "3". Last edited by epnhakon; 08-29-2014 at 04:01 AM. Reason: inserted a image |
#2
|
||||
|
||||
Perhaps
Code:
=SUMPRODUCT(SUBTOTAL(103,OFFSET(A2,ROW(A2:A100)-ROW(A2),0)),(A2:A100=3)+0)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
I don't get this one to work. I tried it as you put it and also with "B" instead of "A" since I'm trying to count the numbers in column B.
I always get the count 0 |
#4
|
|||
|
|||
disregard last post. This works perfectly.
Thanks for a quick reply @pecoflyer |
Tags |
countif, filter, solved |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using =countif formula with drop down box. | wchristner | Excel | 0 | 02-19-2014 12:44 PM |
COUNTIF Formula | teza2k06 | Excel | 3 | 02-13-2014 12:37 PM |
Countif | hockeytown | Excel | 3 | 01-05-2013 08:06 AM |
Countif issue | Katy I | Excel | 2 | 07-11-2012 06:30 AM |
Countif with 2 criteria | ibrahimaa | Excel | 3 | 05-23-2011 11:23 AM |