Hello,
How can I get word to insert a semicolon after a list of numbers and delete the space in between to make a long continous list?
ie Copy this list from excel:
123456
123456
748979
498784
then make Word have it say
123456; 123456; 748979; 498784;
I'd do that myself but I can't tolerate it 2,200 times.
Thanks!
Last edited by nguyeda; 06-03-2011 at 09:24 AM.
Ok, I inserted the semi colon in excel. Now I just have a list, how do I delete the space so the numbers are next to each other?
Try this in Excel
Assumuing your data is in A2 Down
In B2
Drag/Fill Down (Double click the Fill handle)=IF(B1="",A2&"; ",B1&A2&"; ")
Copy & Paste the last line into word at your desired location.
[EDIT]
To find the last line Select B2 then press Ctrl+Arrow Down
[EDIT 2]
You ask to delete the space between, but show a space in your expected result.
If you don't want the space use ";" in the formula rather than "; ".
Last edited by Marcol; 06-03-2011 at 09:04 AM. Reason: Added attachment
If you need any more information, please feel free to ask.
However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
Also
If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.
maybe this: http://www.excelforum.com/2164601-post2.html
"Relax. What is mind? No matter. What is matter? Never mind!"
Thanks guys, wish I saw this before I did what I did but it worked!
I just added special formatting to include the semi colon, pasted in to word as text, pasted that in to notpad between <html></html> tags and opened it in the browser. So HTML took out the spaces!
Hahah sort of smart workaround?
Hmm?
If you think so, please mark your thread solved.Hahah sort of smart workaround?
If you need any more information, please feel free to ask.
However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
Also
If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks