Thread
:
COUNTIF with non-continuous range
View Single Post
#
2
Posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
Posts: 10,124
COUNTIF with non-continuous range
Modify to suit
=SUMPRODUCT(COUNTIF(INDIRECT({"p2:p6","r2:r6"}),"= 1"))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Ken" wrote in message
...
Can I use the COUNTIF function on an area that does not have a continuous
range?
Example:
=COUNTIF(AG4:AG25,AA4:AA26,U4:U26,B4:B26,H4:H26,N4 :N26,AZ4:AZ25,AT4:AT25,AN4:AN25,1)
Generates an error - too many arguments. I have also tried it with
quotes:
=COUNTIF("AG4:AG25,AA4:AA26,U4:U26,B4:B26,H4:H26,N 4:N26,AZ4:AZ25,AT4:AT25,AN4:AN25",1)
But this, too, generates a general error.
Suggestions? I have a complex spreadsheet and I need to count values all
over it.
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett