Thread: Counting
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Counting

Try this:
For the searched text in cell A1 and a list of cells that contain text in
D1:D10

=SUMPRODUCT(LEN(D1:D10)-LEN(SUBSTITUTE(UPPER(D1:D10),UPPER(A1),"")))/LEN(A1)

Does that help?

***********
Regards,
Ron


"bjenkins" wrote:

Is there a non-macro way to count if words appear in a cell.

In other words, I have a list in excel such as the following
Alpha
Beta
Gamma
Alpha, Beta
Alpha, Delta
Delta, Gama

and I want to count the number of times that Alpha, Beta, Gamma, and Delta
appear so that it would produce
Alpha - 3
Beta - 2
Gama - 2
Delta - 2

Thanks in advance for the help