LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Naya
 
Posts: n/a
Default Replacing or Substituting Text

I'm trying to substitute/replace text in one cell for another text in another
cell. I don't want the return value to be the original text or a "#VALUE!" in
the new cell if it does not find the text to replace. PLEASE HELP. I'm going
crazy.

Here is an example:

A1 value is Brown Donkey
A2 value is Purple Butterfly
A3 value is Brown Dog
A4 value is Pink Panther

If I use the substitute formula for Column B to replace Brown with BLUE,
this is what I get:

B1 value is BLUE Donkey
B2 vlaue is Purple Butterfly
B3 value is BLUE Dog
B4 value is Pink Panther

HERE IS THE DESIRED RESULT:

B1 value is Blue Donkey
B2 value is " "
B3 value is Blue Dog
B4 value is " "

"" (quotes) represent blank cells. PLEASE HELP!


 
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
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
substituting two text occurances in same cell. Hassan Alameh Excel Worksheet Functions 4 March 9th 05 01:50 PM
Replacing text in Excel files on disk? Desperate Don Excel Discussion (Misc queries) 0 March 1st 05 04:23 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 03:59 PM.

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

About Us

"It's about Microsoft Excel"