Count If

A

André

How can i do a Countif to cover a column from A3 to
wherever the last cell with the data i'm looking for is in?

A.
 
B

Bob Phillips

Chris,

If A1 and/or A2 also have that value in them, you get the wrong result with
your formula, but not Peo's.

Maybe unlikely, but that was what Peo was guarding against. Unfortunately
Peo's version fails to take blank rows into account. Here's another option
which covers both of these possibilities

=SUMPRODUCT(--(A3:A65536="Data 1"))

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top