Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Counting items in strings

I have a table with a column that reads:
Br
Corr
SAP
SAP
Br, Gov
Comp
Br, SAP
Comp
Comp, Gov
Br
Br, SAP


I want to count the Br's and come up with 5 and not 2. I've tried a
PivotTable and I've tried Countif.
Any ideas.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Counting items in strings

COUNTIF should work

=COUNTIF(A:A,"Br*")

If this post helps click Yes
---------------
Jacob Skaria


"Slim Slender" wrote:

I have a table with a column that reads:
Br
Corr
SAP
SAP
Br, Gov
Comp
Br, SAP
Comp
Comp, Gov
Br
Br, SAP


I want to count the Br's and come up with 5 and not 2. I've tried a
PivotTable and I've tried Countif.
Any ideas.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Counting items in strings

On Apr 19, 9:38*pm, Jacob Skaria
wrote:
COUNTIF should work

=COUNTIF(A:A,"Br*")

If this post helps click Yes
---------------
Jacob Skaria


I don't see Yes, but the formula worked. Thanks much.
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
Extract text strings from xls cells containing outlook items ulfb[_2_] Excel Programming 3 February 12th 09 11:25 AM
Counting Text Strings Kholm Excel Worksheet Functions 11 August 21st 07 05:56 PM
Counting text strings 525047 Excel Worksheet Functions 1 April 21st 06 05:35 AM
Counting Strings in an Array ExcelMonkey[_190_] Excel Programming 9 March 16th 05 09:21 AM
counting unique strings Sparky Mark Excel Discussion (Misc queries) 3 January 20th 05 11:47 PM


All times are GMT +1. The time now is 09:59 AM.

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"