View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Multiple non-consecutive rows

Try this:

Do you really need to use the entire row as a range reference?

=SUMPRODUCT((MOD(ROW(A$4:IV$97)-ROW(A$4),3)=0)*(A$4:IV$97="Yes"))

Biff

"RW" wrote in message
...
How do I include multiple non-consecutive rows in a COUNTIF function. I
need
to check rows (4,7,10,13 thru 97 (every third row)) for a value. I used
=
COUNTIF (4:4, "Yes") and it returns the correct number. I have tried
several
methods to include the 32 row I need to check for the value "Yes" and it
will
not allow the multiple rows

Thanks in advance.
--
RW