Row count with hidden rows (filters on)

Sbrockey

New Member
Joined
Jun 3, 2015
Messages
3
I have a table A3 : L300. Row 3 has column headers and filters. I want to count non-hidden rows once filters are set. For example after filter are set rows 12, 124, 128, 246 and 298 are not hidden so result would be 5 or 6 including header row.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi and welcome to the MrExcel Message Board.

Take a look at the AGGREGATE command if you have a recent version of Excel (2010 or later).

A summary of the options is available here and probably lots of other places on the web: MS Excel: AGGREGATE Function (WS)

The following command runs the equivalent of a COUNT() function on A2:A71 but ignores hidden rows:

=AGGREGATE(2,5,A2:A71)
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top