Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Adding contents of another cell to the middle of a line of text

To save me HOURS of work, i really need to know if there is a way to
replace a part of a line of text with the contents of another cell.
For example if i have: The brown X dog jumps. I would need it to
say: The brown fat dog jumps.
The first line (The brown X dog jumps.) being in column 1 and the word
(fat) to be added in place of the X located in column 2.

I know how to combine the columns but not when the text has to go into
the middle rather than at the beginning or end.
Any HELP i would greatly appreciate.
-Lara
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Adding contents of another cell to the middle of a line of text

fat in B2,

The brown X dog jumps in A2


=SUBSTITUTE(A2,"X",B2)


now the problem is if this can be any type of letter? If it is a word it is
easier.
However note that all instances of X (case sensitive) will be replaced with
the word fat
--


Regards,


Peo Sjoblom

wrote in message
...
To save me HOURS of work, i really need to know if there is a way to
replace a part of a line of text with the contents of another cell.
For example if i have: The brown X dog jumps. I would need it to
say: The brown fat dog jumps.
The first line (The brown X dog jumps.) being in column 1 and the word
(fat) to be added in place of the X located in column 2.

I know how to combine the columns but not when the text has to go into
the middle rather than at the beginning or end.
Any HELP i would greatly appreciate.
-Lara



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
How can I put a horizontal line in the middle of a cell? CatBuddy Excel Discussion (Misc queries) 5 April 2nd 23 07:56 PM
Insert Cell Contents in middle of web address Jetheat Excel Discussion (Misc queries) 2 March 5th 06 07:18 PM
Adding cell contents in different worksheets Supersaint Excel Discussion (Misc queries) 3 January 11th 06 04:22 PM
Possible to insert cell data in the middle of line of text? Bob Smith Excel Worksheet Functions 6 July 29th 05 08:14 PM
Adding a text label to a line. Neil Charts and Charting in Excel 1 December 4th 04 08:41 PM


All times are GMT +1. The time now is 12:50 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"