#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default Countif visible

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 301
Default Countif visible

Yes - use 109 instead of 9
=SUBTOTAL(109,...)
or 101, 102, etc.
"Sean" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Countif visible




"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
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 301
Default Countif visible

Yes; to COUNT visible only, use 102
"Marcelo" wrote in message
...



"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



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 256
Default Countif visible

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!

In article ,
Sean wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using COUNTIF with visible rows only Dr Happy Excel Worksheet Functions 2 December 7th 05 03:45 PM
countif for only visible rows when combined with autofilter - possible? johli Excel Discussion (Misc queries) 1 September 21st 05 08:23 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
make hidden window or workbook visible without specify the name mango Excel Worksheet Functions 1 December 30th 04 03:05 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


All times are GMT +1. The time now is 07:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"