Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Converting list of numbers in Excel to a string of text in Word

I have a list of numbers in Excel and I would like to convert this to a
string of text in either Word or Notepad. These need to be separated with a
semicolon. I have figured out how to add the semicolon in Excel (using a
formual something like "A1&B1") and then copying and pasting to a new column.
Just need to convert this list to a string with no spaces between. The end
result (in Word) would look like: 123456;246888;789456;654123...etc. Any
ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Converting list of numbers in Excel to a string of text in Word

Assuming your numbers are in column A, put this formula in B1:

=A1

and this in B2:

=IF(A2="",B1,B1&";"&A2)

Copy this formula down as far as you need to, and the combined text
will be in the bottom cell.

Hope this helps.

Pete

On Feb 3, 9:31*pm, clint-50025
wrote:
I have a list of numbers in Excel and I would like to convert this to a
string of text in either Word or Notepad. *These need to be separated with a
semicolon. *I have figured out how to add the semicolon in Excel (using a
formual something like "A1&B1") and then copying and pasting to a new column.
*Just need to convert this list to a string with no spaces between. *The end
result (in Word) would look like: * 123456;246888;789456;654123...etc. *Any
ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Converting list of numbers in Excel to a string of text in Wor

This worked great! Thanks for the idea. Just had to copy the last cell,
paste special -- values to a new cell, then copied that into word. I
appreciate your help!

"Pete_UK" wrote:

Assuming your numbers are in column A, put this formula in B1:

=A1

and this in B2:

=IF(A2="",B1,B1&";"&A2)

Copy this formula down as far as you need to, and the combined text
will be in the bottom cell.

Hope this helps.

Pete

On Feb 3, 9:31 pm, clint-50025
wrote:
I have a list of numbers in Excel and I would like to convert this to a
string of text in either Word or Notepad. These need to be separated with a
semicolon. I have figured out how to add the semicolon in Excel (using a
formual something like "A1&B1") and then copying and pasting to a new column.
Just need to convert this list to a string with no spaces between. The end
result (in Word) would look like: 123456;246888;789456;654123...etc. Any
ideas?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Converting list of numbers in Excel to a string of text in Word

Your formula =A1&B1 *will* produce a string with no spaces between the
content of A1 and B1.
If you wish to separate them with a semi-colon, the formula is =A1&";"&B1
--
David Biddulph

clint-50025 wrote:
I have a list of numbers in Excel and I would like to convert this to
a string of text in either Word or Notepad. These need to be
separated with a semicolon. I have figured out how to add the
semicolon in Excel (using a formual something like "A1&B1") and then
copying and pasting to a new column. Just need to convert this list
to a string with no spaces between. The end result (in Word) would
look like: 123456;246888;789456;654123...etc. Any ideas?



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
Converting a text word or text string to a number Tom Excel Discussion (Misc queries) 6 January 2nd 09 08:23 PM
converting text from word to excel. darkfeld Excel Discussion (Misc queries) 5 October 20th 08 04:14 PM
Converting a range of Excel 2003 Cells to a Single text string JR2008 Excel Discussion (Misc queries) 2 July 7th 08 12:50 AM
Pull last word from a text string in Excel nmp Excel Worksheet Functions 8 September 25th 06 10:13 PM
Converting Text String to Separate Numbers Cincy Excel Discussion (Misc queries) 1 June 7th 06 10:30 AM


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