Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Count only Letters in cells that contain both letters and numbers

Hello to all.

I have a Column that has cells with both numbers and letters, like this:
W 6-2
L 3-7
W 11-6
W 1-0

I want to add up the number of W's that appear in this range. Don't seem to
be able to figure it out. Can anyone help?
Thanks!

--
TommyB
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Count only Letters in cells that contain both letters and numbers

TommyB wrote:
Hello to all.

I have a Column that has cells with both numbers and letters, like this:
W 6-2
L 3-7
W 11-6
W 1-0

I want to add up the number of W's that appear in this range. Don't seem to
be able to figure it out. Can anyone help?
Thanks!


Assuming you only want to count a cell once when it contains at least
one "W", try this:

=COUNTIF(A1:A4,"*W*")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Count only Letters in cells that contain both letters and numb

You Rock...that was so simple.
Thanks a million
--
TommyB


"smartin" wrote:

TommyB wrote:
Hello to all.

I have a Column that has cells with both numbers and letters, like this:
W 6-2
L 3-7
W 11-6
W 1-0

I want to add up the number of W's that appear in this range. Don't seem to
be able to figure it out. Can anyone help?
Thanks!


Assuming you only want to count a cell once when it contains at least
one "W", try this:

=COUNTIF(A1:A4,"*W*")

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
Count the letters in the cells and sum in another cell George Excel Worksheet Functions 1 November 20th 08 10:10 AM
How to count specific letters in range of cells? Renee R.[_2_] Excel Discussion (Misc queries) 3 June 22nd 07 08:14 PM
How do I count letters and numbers in a formula? Todd Excel Worksheet Functions 4 April 6th 06 04:25 AM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Finding Numbers with Cells that also contain letters Adam Excel Discussion (Misc queries) 7 December 29th 04 02:41 PM


All times are GMT +1. The time now is 10:51 PM.

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

About Us

"It's about Microsoft Excel"