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?
Rick Rothstein (MVP - VB) - 12 Jul 2007 17:17 GMT
>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
JVANWORTH - 12 Jul 2007 18:34 GMT
Thanks
> >I know it is simple, but I'm blanked out...........
> >
[quoted text clipped - 7 lines]
>
> Rick
Roger Govier - 12 Jul 2007 17:18 GMT
Hi
Try
=COUNTIF(A1:A100,"=*~*")

Signature
Regards
Roger Govier
>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?
JVANWORTH - 12 Jul 2007 18:34 GMT
Thanks
> Hi
>
[quoted text clipped - 5 lines]
> > How do I count the number of cells that have an "*" as the last
> > character?
T. Valko - 12 Jul 2007 18:57 GMT
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)="*"))

Signature
Biff
Microsoft Excel MVP
>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?
gwen - 13 Jul 2007 18:30 GMT
Thanks for that explanation of *~*
> Here's another way just in case you forget to define the * as a text
> character by preceding it with the ~:
[quoted text clipped - 4 lines]
> >
> > How do I count the number of cells that have an "*" as the last character?
T. Valko - 13 Jul 2007 19:33 GMT
You're welcome!

Signature
Biff
Microsoft Excel MVP
> Thanks for that explanation of *~*
>
[quoted text clipped - 7 lines]
>> > How do I count the number of cells that have an "*" as the last
>> > character?