Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default count partial string in a range

Hi,

how to count number of "partial string" in a range of column

for ex: column E contains text as "Pass", "pass on 20/01/08", "issue Passed
on "21", "fail".

now, i wanted the count which searches the cell values that contains the
word "pass" (case insensitive)".

here, in this case the count is 3 (answer).

how to do it?

I tried COUNTA and DCOUNTA. it didnt work

Thanks,
Venkat
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default count partial string in a range

With wildcards:

=COUNTIF(E1:E100,"*pass*")

--
Gary''s Student - gsnu200826


"Venkatesh V" wrote:

Hi,

how to count number of "partial string" in a range of column

for ex: column E contains text as "Pass", "pass on 20/01/08", "issue Passed
on "21", "fail".

now, i wanted the count which searches the cell values that contains the
word "pass" (case insensitive)".

here, in this case the count is 3 (answer).

how to do it?

I tried COUNTA and DCOUNTA. it didnt work

Thanks,
Venkat

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default count partial string in a range

Thanks a lot. it worked

"Gary''s Student" wrote:

With wildcards:

=COUNTIF(E1:E100,"*pass*")

--
Gary''s Student - gsnu200826


"Venkatesh V" wrote:

Hi,

how to count number of "partial string" in a range of column

for ex: column E contains text as "Pass", "pass on 20/01/08", "issue Passed
on "21", "fail".

now, i wanted the count which searches the cell values that contains the
word "pass" (case insensitive)".

here, in this case the count is 3 (answer).

how to do it?

I tried COUNTA and DCOUNTA. it didnt work

Thanks,
Venkat

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 partial matched text string Chapi New Users to Excel 5 July 5th 10 06:34 AM
Count one character in a string across a range of cells? Andrea Excel Worksheet Functions 3 February 6th 09 04:33 PM
Count the number of cells in a range with a string containing a specified substring Sisilla[_2_] Excel Programming 1 March 19th 07 12:30 PM
count instaces of text string in range Steve[_63_] Excel Programming 4 February 18th 05 04:14 AM
searching a string with a partial string dcstech Excel Programming 1 April 5th 04 10:57 PM


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