will countif work for this?

S

Skeeterj

I'm trying to count cells in a row that have '100%' in them from a formula.

I've tried naming the cells that I want (E6, H6, M6, P6) and use:

=countif(name, 100%)

It's not working for me... Suggestions?

Thanks. Steve
 
M

Mattlynn via OfficeKB.com

=COUNTIF(A1:A7,1)

The 100% is set as the number 1 as 0.99 = 99% etc.
I tried this, and it counts the number of 100%'s

Regards
 
M

Mike H

No countif can't do that on a non contiguous range, Try this

=SUMPRODUCT(COUNTIF(INDIRECT({"E6","H6","M6","P6"}),"=100%"))

Mike
 
Top