View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kent[_2_] kent[_2_] is offline
external usenet poster
 
Posts: 4
Default problem about count text

A B C D E
Jose John Roy
Game AJoseq Game
Toy BJohnRoy Toy Toy

If Column B contain text from C1 to E1, then the content at Column A would
appear in C2 to E3.
What is the formula please.

Hope you understand my question this time.




"Pete_UK"
...
Glad to hear that the first suggestion worked for you.

I'm sorry, but your second request doesn't make any sense to me. Can
you rephrase it, and repost the example so that it doesn't wrap onto
new lines each time.

Pete

On Dec 8, 11:39 am, "Kent" wrote:
Thank you Pete, it works.
Another case.

A B C D
E
Jose John
Roy
Game AJoseq Game
Toy BJohnRoy Toy
Toy

If Column B contain text from C1 to E1, then the content at Column A would
indicate in C2 to E3.
What is the formula please.

Kent

"Pete_UK"
...
Try it this way:

=countif(A2:A5, "*"&B1&"*")

Hope this helps.

Pete

On Dec 8, 9:05 am, "Kent" wrote:



Dear all,


I have a table


A ?????????? B
????????????SD
ASDFG
SDFTY
WREGD
UJHDSD


I want to count the no. of appearance of the text at B1 in column A, in
this
case, is 3. The formula is ?countif(A2:A5, "*SD*").


However as the text "SD" would be changed all the time, I have tried the
formula =countif(A2:A5, "*(B1)*"), but it fails.


What should the formula please.


Kent- Hide quoted text -


- Show quoted text -