ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   count partial string in a range (https://www.excelbanter.com/excel-programming/422494-count-partial-string-range.html)

Venkatesh V

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

Gary''s Student

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


Venkatesh V

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



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com