View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_] Harlan Grove[_2_] is offline
external usenet poster
 
Posts: 1,231
Default COUNTIF on NonContiguous Cells?

RoadKill wrote...
Okay, so I think my issue with my COUNTIF is that the cells are not next to
each other. This is my range: (C3,E3,G3,I3,K3,M3).

What I want to do is range all the cells in that range that have data
equivalent to 1.00.

What I am thinking is =COUNTIF(C3,E3,G3,I3,K3,M3, "=1"). But unfortunately
that doesn't work.


For counting, use FREQUENCY.

=INDEX(FREQUENCY((C3,E3,G3,I3,K3,M3),{0.9999999999 99999;1}),2)