LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default how can i insert a word into many cells in a list

You seem to have missed this - perhaps because we posted at the same
instant.

Pete

On Jul 2, 1:59*pm, Pete_UK wrote:
It's always better to specify the cells that you are going to use,
then the formula can be tailored to you. In the formulae I gave you
there was a space after "new_word" in the first one and before it in
the second one, but if you want to pick the word up from a cell you
have to do it a bit differently.

Quotes have the character code 34, and I find it is easier to
incorporate this into a formula which requires quotes to be shown
(there are other ways).

So, to start off then, if you have the word red in A1 and car in B1,
then this formula in C1:

=A1 & " " & B1

will give you:

red car

in C1. The & symbol, called the concatenation operator, is used to
join text together, so this basically takes whatever is in A1 and adds
a space to it followed by whatever is in B1. If you want the quotes
around the first word, then the formula will have to become:

=CHAR(34) & A1 & CHAR(34) & " " & B1

to give you:

"red" car

If you want the quotes around the second word, then change the formula
in C1 to this:

=A1 & " " & CHAR(34) & B1 & CHAR(34)

to give you:

red "car"

Hope this helps.

Pete

 
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
Need a formula to 'find' word in cells of column from a long list Deden Excel Worksheet Functions 10 November 26th 08 02:30 AM
how can i insert a word into many cells in a list Pete_UK Excel Discussion (Misc queries) 0 July 2nd 08 01:59 PM
how can i insert a word into many cells in a list Cheekyscampster Excel Discussion (Misc queries) 4 July 2nd 08 01:59 PM
List of cells that contain a particular word cloudyMalta Excel Worksheet Functions 3 May 29th 08 02:35 PM
importing list with commas from WORD, to individual .xls cells? brantty Excel Discussion (Misc queries) 1 August 5th 05 12:31 AM


All times are GMT +1. The time now is 12:24 AM.

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"