Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 9
Default CountA with filtered column

How do I count the values in the rows showing in a column after applying a
filter to the worksheet? When I do something like =counta(b2:b450) I get 449
but this is not correct after using the filter.
Thanks,
--
Lee Coleman


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,124
Default CountA with filtered column

Have a look in the help index for SUBTOTAL

--
Don Guillett
SalesAid Software

"Lee Coleman" wrote in message
...
How do I count the values in the rows showing in a column after applying a
filter to the worksheet? When I do something like =counta(b2:b450) I get
449 but this is not correct after using the filter.
Thanks,
--
Lee Coleman




  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 109
Default CountA with filtered column

Lee

Try this:
=SUBTOTAL(3,B2:B450)

George Gee


"Lee Coleman" wrote in message
...
How do I count the values in the rows showing in a column after applying a
filter to the worksheet? When I do something like =counta(b2:b450) I get
449 but this is not correct after using the filter.
Thanks,
--
Lee Coleman




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 9
Default CountA with filtered column

Thanks it worked great.

Lee

"George Gee" wrote in message
...
Lee

Try this:
=SUBTOTAL(3,B2:B450)

George Gee


"Lee Coleman" wrote in message
...
How do I count the values in the rows showing in a column after applying
a filter to the worksheet? When I do something like =counta(b2:b450) I
get 449 but this is not correct after using the filter.
Thanks,
--
Lee Coleman






  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 634
Default CountA with filtered column

Note that this works only with filtered rows, and not if you hide any of
them manually. If you do want to hide any manually then this can be catered
for as well by adding 100 to the argument, so where you might use the
argument 3 as per the example given to you, then 103 will allow you to
exclude manually hidden rows as part of your filtered data.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------



"Lee Coleman" wrote in message
...
Thanks it worked great.

Lee

"George Gee" wrote in message
...
Lee

Try this:
=SUBTOTAL(3,B2:B450)

George Gee


"Lee Coleman" wrote in message
...
How do I count the values in the rows showing in a column after applying
a filter to the worksheet? When I do something like =counta(b2:b450) I
get 449 but this is not correct after using the filter.
Thanks,
--
Lee Coleman








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
Need Macro Help excelmad Excel Discussion (Misc queries) 7 January 19th 07 10:04 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 06:18 PM.

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"