Replace Part of a Function

W

Walter

=COUNTIF(F:F,"Bent")
=COUNTIF(F:F,"Binding")
=COUNTIF(F:F,"Broken")

So I have these formulas that will count the occurences of words in column
F. The formula resides in column L. I need to replace the word inside the
quotes with a new word or a new phrase based upon a list in column K. How do
I go about doing that? I am assuming that the formula would involve Search,
Replace, & some concatenation but I am not sure how to assemble it. I have
been manually replacing a new word or phrase between the quotes and still
have a large number of them to complete.
 
R

Rick Rothstein \(MVP - VB\)

I'm not completely sure what you are asking. Are you saying you have a list
of words in Column K and you want to apply the COUNTIF function against each
word? If so, just reference the first cell in Column K and then copy the
formula down. That is, put this in Column L....

=COUNTIF(F:F,K1)

and then copy it down for as many rows as are in the list in Column K.

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top