Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Count Autofiltered Rows?

Here's a quick one:

Anyone know how I can get a cell to show the number of records displayed
when autofiltering by column?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default Count Autofiltered Rows?

You dont need VBA, use subtotal it only examines visible cells...i.e,
use:

=SUBTOTAL(2,A1:A9), with A1:A9 being the range of all possible
cells...if you look at help you can see the other uses for subtotal
(i.e. the 2 tells it count, but you can have subtotal do things like
sum up the visible cells)

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
rogue rows appear in autofiltered sort dmich Excel Discussion (Misc queries) 0 January 11th 09 04:49 PM
How do I use count, sum, or avg formulas on autofiltered results. Hospice Volunteer Services Excel Worksheet Functions 1 April 17th 08 07:02 PM
Dynamic count on an Autofiltered list ttbbgg Excel Discussion (Misc queries) 3 February 13th 08 04:47 PM
Count the number of AutoFiltered records DZ Excel Worksheet Functions 6 January 17th 08 12:31 PM
Copy Autofiltered rows to another workbook using macro ashish128 Excel Discussion (Misc queries) 2 July 27th 07 01:25 PM


All times are GMT +1. The time now is 07:56 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"