Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DOR
 
Posts: n/a
Default Merging Text Help

Put the city list in column A of sheet1 and the Occupation list in
column B. In sheet2 cell A1 put

=Sheet1!$A1&" "&INDEX(Sheet1!$B:$B,COLUMN())

Copy across to include all occupations and and down to include all
cities.

Save sheet2 as a CSV file.

  #2   Report Post  
MarkyD
 
Posts: n/a
Default Merging Text Help


Thank you - Works Wonders. I wish I knew how you came up with the
formula.

Mark


--
MarkyD
------------------------------------------------------------------------
MarkyD's Profile: http://www.excelforum.com/member.php...o&userid=28590
View this thread: http://www.excelforum.com/showthread...hreadid=482552

  #3   Report Post  
DOR
 
Posts: n/a
Default Merging Text Help

You're welcome.

To understand formulas like this, look up a few things in Excel help:

1. Enter "cell references" in the answer wizard and then click on "The
difference between abslute and relative cell references" on the right
hand side.

2. Do the same for "column function" and read about that.

3. Then read about "index function".

4. Finally, read about "concatenate" (the & joins strings together -
that's called "concatenating".

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
Merging cells and text wrap Taecan New Users to Excel 2 September 30th 05 06:55 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
merging text information danielle Excel Discussion (Misc queries) 1 June 13th 05 02:20 PM
WRAP a text line over several columns without merging cells Conrad S Excel Worksheet Functions 1 March 22nd 05 03:52 AM
Can you retain different text formats when merging text? Genmon Excel Discussion (Misc queries) 1 January 20th 05 05:09 PM


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