Thread
:
How can I count items in a filtered list?
View Single Post
#
17
Posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
Posts: 15,768
How can I count items in a filtered list?
How can I use the * wildcard in this function
cells that begin with "CL".
You can't use wildcards in this function.
Try this:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(B2:B100,ROW(B2:B100)-ROW(B2),0,1)),--(LEFT(B2:B100,2="CL"))
--
Biff
Microsoft Excel MVP
"Steven j P" <Steven j
wrote in message
...
This function almost works for except I want to use a wildcard for "A", I
want to use "CL*" cells that begin with "CL". How can I use the * wildcard
in
this function.
Steven
"T. Valko" wrote:
This will "COUNTIF" B2:B100 = "A" in a filtered list:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(B2:B100,ROW(B2:B100)-ROW(B2),0,1)),--(B2:B100="A"))
--
Biff
Microsoft Excel MVP
"tommy" wrote in message
...
do anybody know, how to use "countif" with filtered lists?
the function subtotal does not allow conditions (e.g. "name")
the function countif does it, but it count hidden cells, too
thank you for your ideas
"N Harkawat" wrote:
=subtotal(2,a1:a1000)
"Counting filtered data." <Counting filtered
wrote in message
...
I have an excel spread sheet table that I filter. I would like to be
able
to
count the number of cells in the filtered data. Anyone know how to
do
this?
CountA returns the number of cells in the unfiltered data.
Tom
Reply With Quote
T. Valko
View Public Profile
Find all posts by T. Valko