Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default Replace Part of a Function

=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.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Replace Part of a Function

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


"Walter" wrote in message
...
=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.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 492
Default Replace Part of a Function

If 'Bent' is in K1,
=COUNTIF(F:F,K1)


"Walter" wrote in message
...
=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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
REPLACE PART OF CELL WITH FORMATTED TEXT Manju Excel Worksheet Functions 8 December 27th 06 11:42 PM
Replace Old Part Numbers with New Part Numbers in a Macro. Jeffery Keown Excel Discussion (Misc queries) 5 October 17th 06 03:45 PM
Find and replace part of a text string [email protected] Excel Discussion (Misc queries) 2 July 10th 06 10:34 PM
Q: DDE Link - Replace Part of the Formula Reto Walker Excel Worksheet Functions 0 February 14th 06 04:13 PM
How do I find and replace part of a hyperlink that isn't visible? Dede Excel Discussion (Misc queries) 1 April 28th 05 12:15 AM


All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"