Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default simple, counting the last character in text

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default simple, counting the last character in text

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default simple, counting the last character in text

Hi

Try
=COUNTIF(A1:A100,"=*~*")

--
Regards

Roger Govier


"JVANWORTH" wrote in message
...
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?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default simple, counting the last character in text

Thanks

"Roger Govier" wrote:

Hi

Try
=COUNTIF(A1:A100,"=*~*")

--
Regards

Roger Govier


"JVANWORTH" wrote in message
...
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?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default simple, counting the last character in text

Thanks

"Rick Rothstein (MVP - VB)" wrote:

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




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default simple, counting the last character in text

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)="*"))

--
Biff
Microsoft Excel MVP


"JVANWORTH" wrote in message
...
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?



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default simple, counting the last character in text

Thanks for that explanation of *~*

"T. Valko" wrote:

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)="*"))

--
Biff
Microsoft Excel MVP


"JVANWORTH" wrote in message
...
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?




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default simple, counting the last character in text

You're welcome!

--
Biff
Microsoft Excel MVP


"gwen" wrote in message
...
Thanks for that explanation of *~*

"T. Valko" wrote:

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)="*"))

--
Biff
Microsoft Excel MVP


"JVANWORTH" wrote in message
...
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?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Cells w/ a certain character in them? BradS Excel Discussion (Misc queries) 1 February 28th 07 04:21 PM
Counting specific character in text string Bob Excel Worksheet Functions 3 January 18th 07 08:44 PM
Excel-Match 1st text character in a string to a known character? bushlite Excel Worksheet Functions 2 January 15th 07 06:36 PM
Finding/counting a given character within a cell Bob Excel Worksheet Functions 10 June 7th 06 12:06 AM
COUNTIF not counting properly!! Character limit? kytihu Excel Worksheet Functions 2 January 30th 06 04:45 PM


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"