Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Filtered Count
Hi,
I have an always changing list. This list is filtered to only show what I want, how can I count the filtered list. I've done a count of the range but it still counts everything, I only want what is still visible. Currently I have the list being copied to another sheet, counted and the count being pasted back to the list sheet but this is time consuming. Thanks Dean |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Filtered Count
Dean,
The following code counts the rows count of visible filtered range. MsgBox ActiveSheet.AutoFilter.Range.Columns( _ 1).SpecialCells(xlCellTypeVisible).Cells.Count - 1 -- Regards, Colo http://www.puremis.net/excel/ "Dean" wrote in message oups.com... Hi, I have an always changing list. This list is filtered to only show what I want, how can I count the filtered list. I've done a count of the range but it still counts everything, I only want what is still visible. Currently I have the list being copied to another sheet, counted and the count being pasted back to the list sheet but this is time consuming. Thanks Dean |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Count all except filtered data | Excel Discussion (Misc queries) | |||
Count the Y's in a filtered column that contains Y and N | Excel Worksheet Functions | |||
count if on Visible - Filtered | Excel Worksheet Functions | |||
count filtered data | Excel Discussion (Misc queries) | |||
Count Intervals of Filtered TEXT values in Column and Return Count across a Row | Excel Worksheet Functions |