CountA with filtered column

L

Lee Coleman

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,
 
K

Ken Wright

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 said:
Thanks it worked great.

Lee
 

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

Top