COUNTIF function

  • Thread starter Thread starter gkelle
  • Start date Start date
G

gkelle

I have a long list of model numbers in column A with some blank cells in
the column. I got the total model count using COUNTA to skip blanks.
I would now like to find out of all models how many are a specific
brand. The first letter is "A" for one type "J" for another etc.

I tried COUNTIF(A2:A4000, LEFT(A2:A4000,1)="A")
but LEFT is looking for a single cell not a range

Is there any way say LIKE A*

Any suggestions would be appreciated.
 
Hi
try
=COUNTIF(A2:A4000,"A*")

or
=SUMPRODUCT(--(LEFT(A2:A4000,1)="A"))
 

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

Back
Top