simple, counting the last character in text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I know it is simple, but I'm blanked out...........

How do I count the number of cells that have an "*" as the last character?
 
I know it is simple, but I'm blanked out...........
How do I count the number of cells that have an "*" as the last character?

Try this...

=COUNTIF(A1:A6,"*~*")

Set your range accordingly.

Rick
 
Here's another way just in case you forget to define the * as a text
character by preceding it with the ~:

=SUMPRODUCT(--(RIGHT(A1:A10)="*"))
 
Thanks for that explanation of *~*

T. Valko said:
Here's another way just in case you forget to define the * as a text
character by preceding it with the ~:

=SUMPRODUCT(--(RIGHT(A1:A10)="*"))
 

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