Count function

S

starjay

I would like to know if it is possible to use the count function an
have it not count all rows/columns that are hidden. Thank you all fo
your help
 
P

Peo Sjoblom

If you are using a filter use

=SUBTOTAL(2,Range)

if not you need VBA, do a google search for [count hidden rows]
 
E

Earl Kiosterud

Thought I'd mention this. SUBTOTAL will exclude rows hidden by an
autofilter, but will include rows hidden manually, or via macro.

--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

Peo Sjoblom said:
If you are using a filter use

=SUBTOTAL(2,Range)

if not you need VBA, do a google search for [count hidden rows]
 

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