#1   Report Post  
dknibbe
 
Posts: n/a
Default counting text

To Whom It May Concern:

I have two columns of text data like the below example:
Column A Column B

Compliance Text......
Compliance Text.......
Compliance Text......

I want to count the number of non-blank cells in Column B that correspond to
Column A. Please help!

Spencer
  #2   Report Post  
Gary L Brown
 
Posts: n/a
Default counting text

If I understand your request correctly..
Col A contains some text. Col B contains text that may/may not have the
text from Col A in it.
For example:
Col A2: "test"
Col B2: "Hi_test_Lo_test_Mid_test"
The formula below would return '3'.

=(LEN(B2)-LEN(SUBSTITUTE(B2,A2,"")))/LEN(A2)

HTH,
--
Gary Brown

If this post was helpful, please click the ''''Yes'''' button next to
''''Was this Post Helpfull to you?".


"dknibbe" wrote:

To Whom It May Concern:

I have two columns of text data like the below example:
Column A Column B

Compliance Text......
Compliance Text.......
Compliance Text......

I want to count the number of non-blank cells in Column B that correspond to
Column A. Please help!

Spencer

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 total cells with text peace Excel Discussion (Misc queries) 9 September 8th 05 04:32 PM
Counting Occurrence of Text within Text in Cells in Range. Jeremy N. Excel Worksheet Functions 1 September 8th 05 05:16 AM
Counting NUMBERS &/or TEXT from a column to other sheet ? Trixie Excel Worksheet Functions 4 March 3rd 05 07:59 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 08:22 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"