Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / July 2007

Tip: Looking for answers? Try searching our database.

simple, counting the last character in text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JVANWORTH - 12 Jul 2007 17:06 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?
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.