
Signature
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
Thanks Bernard - that partially works. It seems to count the number of
instances of cells that contain the word in question. What I really need is
something that will actually count the number of those words in the whole
column (sometimes the same word can occur twice within a cell).
> Use =COUNTIF(B1:B500,"*apples*")
> This worked for me with "apples pears" in one cell with LF (linefeed)
[quoted text clipped - 14 lines]
>>
>> Many thanks.
Kevin Vaughn - 24 Oct 2006 16:22 GMT
This appeared to work for me (counting the number of occurrences of apple in
a1:a8 where sometimes apple occurred more than once in a cell:
=SUMPRODUCT((LEN(A1:A8)-LEN(SUBSTITUTE(A1:A8,"apples","")))/LEN("apples"))

Signature
Kevin Vaughn
> Thanks Bernard - that partially works. It seems to count the number of
> instances of cells that contain the word in question. What I really need is
[quoted text clipped - 19 lines]
> >>
> >> Many thanks.
Terry Bennett - 24 Oct 2006 17:30 GMT
Thanks Kevin - that seems to work well!
> This appeared to work for me (counting the number of occurrences of apple
> in
[quoted text clipped - 33 lines]
>> >>
>> >> Many thanks.
Kevin Vaughn - 24 Oct 2006 18:10 GMT
You're welcome.

Signature
Kevin Vaughn
> Thanks Kevin - that seems to work well!
>
[quoted text clipped - 35 lines]
> >> >>
> >> >> Many thanks.