Countif visible

G

Guest

I have a group of data with autofilters on headers I would like to count
occurances of numbers by using countif. When I select filtered criteria I
would like the values to change. I can't make this work with a pivot table
because of the structure of the data. Is there a countif visible formula
similar to a subtotal(9,AB1:AB23456)?

Thanks
 
G

Guest

"Sean" escreveu:
I have a group of data with autofilters on headers I would like to count
occurances of numbers by using countif. When I select filtered criteria I
would like the values to change. I can't make this work with a pivot table
because of the structure of the data. Is there a countif visible formula
similar to a subtotal(9,AB1:AB23456)?

Thanks


=subtotal(2,ab1:ab23456)

the 2 is for count
take a look on subtotal help

hth
regards from Brazil
Marcelo
 
B

Bob Umlas

Yes; to COUNT visible only, use 102
Marcelo said:
"Sean" escreveu:



=subtotal(2,ab1:ab23456)

the 2 is for count
take a look on subtotal help

hth
regards from Brazil
Marcelo
 
D

Domenic

To count within a filtered list the number of times a cell in B2:B100
equals a certain criteria, try...

=SUMPRODUCT(SUBTOTAL(3,OFFSET(B2:B100,ROW(B2:B100)-ROW(B2),0,1)),--(B2:B1
00=Criteria))

....where the criteria is a numerical value. Adjust the range
accordingly.

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

COUNTIF Function on filtered data 2
Count only visible formula results 2
Sorting and COUNTIF 6
Countif formula 2
COUNTIF, Sorting, on Two Sheets 1
Excel Need Countifs Formula Help 0
Subtotal Countif 7
Counting text 2

Top