Re: Count letter string, e.g. h/EL/p
- From: "Sandy Mann" <sandymann2@xxxxxxxxxxxxxx>
- Date: Mon, 3 Sep 2007 19:06:17 +0100
The <> operator is better but Ron has us both beaten hands down if the OP
only want to count words not multiple occurrences within words.
--
Regards,
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@xxxxxxxxxxxxxx
Replace @mailinator.com with @tiscali.co.uk
"Tevuna" <Tevuna@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:21EF9468-03EC-4E68-952E-4B9C331C8F2B@xxxxxxxxxxxxxxxx
Or
=SUM(1*(LEN(A1:A3)<>LEN(SUBSTITUTE(A1:A3,"ee",""))))
"Sandy Mann" wrote:
One way:
With the string that you are looking for in D1 try:
=SUM(LEN(A1:A1000)-LEN(SUBSTITUTE(LOWER(A1:A1000),D1,"")))/LEN(D1)
Array entered with Ctrl + Shift + Enter
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@xxxxxxxxxxxxxx
Replace @mailinator.com with @tiscali.co.uk
"Lee" <Lee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D8BDDB65-7AC3-49C9-97F6-2425D2D204D2@xxxxxxxxxxxxxxxx
I want to count how many times a string of letters occurs in each row in
a
column. Column A has 1000 rows with 1 word in each row (1000 most
frequent
English words). e.g. I would like to count how many words contain the
string
of letters "ee" (sEEn).
I also want to count how frequent a string such as "A, any letter, E"
(mAdE)
occurs.
Thanks
Lee
.
- Follow-Ups:
- Re: Count letter string, e.g. h/EL/p
- From: Ron Rosenfeld
- Re: Count letter string, e.g. h/EL/p
- References:
- Re: Count letter string, e.g. h/EL/p
- From: Sandy Mann
- Re: Count letter string, e.g. h/EL/p
- Prev by Date: Re: Count letter string, e.g. h/EL/p
- Next by Date: Re: Count letter string, e.g. h/EL/p
- Previous by thread: Re: Count letter string, e.g. h/EL/p
- Next by thread: Re: Count letter string, e.g. h/EL/p
- Index(es):
Relevant Pages
|