Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Pasting comma delimited data

Anyone know of a function to paste comma delimited data that looks like this:

1,2,.3,4,5

into rows like this:

1
2
3
4
5

??
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Pasting comma delimited data

OnTheEdge wrote:
Anyone know of a function to paste comma delimited data that looks like this:

1,2,.3,4,5

into rows like this:

1
2
3
4
5

??


First, paste the data into a cell. Then use Text To Columns with comma
delimited to split it into individual cells. Then select all of the cells and
Copy. Select the first cell where you want the rows to start and Paste Special
/ Transpose.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Pasting comma delimited data

How many such numbers are there?
If you are using Excel 2003 and you have less than 255 numbers then
Use Text to Columns to separate them into Columns
Select the numbers Copy and PASTE SPECIAL|Transpose on the row below

"OnTheEdge" wrote:

Anyone know of a function to paste comma delimited data that looks like this:

1,2,.3,4,5

into rows like this:

1
2
3
4
5

??

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 100
Default Pasting comma delimited data

Hi,

If you really need a single formula for this, then try the following.
Paste you data into, say, A1, so that it looks like 1,2,3,4,5,6,7,8 etc.
Then enter the following formula in A2

=--MID(SUBSTITUTE($A$1,",",""),ROW()-ROW($A$1),1)

and copy down as far as necessary.

Dave

url:http://www.ureader.com/msg/104241285.aspx
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 100
Default Pasting comma delimited data

Hi,
I realised my previous suggestion only works if you have single digits
between the commas.
A much more elegant solution is,assuming the same as before, you use
=--WMID($A$1,ROW()-1,1,",")
and copy down

This uses Laurent Longre's WMID function (part of his free MOREFUNC.XLL
add-in, available at http://longre.free.fr/english)

Dave

url:http://www.ureader.com/msg/104241285.aspx
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
Pasting comma delimited data OnTheEdge Excel Discussion (Misc queries) 1 November 10th 08 11:40 PM
Saving as tab delimited or comma delimited MathGrace Excel Discussion (Misc queries) 0 June 20th 08 08:02 PM
Tab delimited to comma delimited Arne Hegefors Excel Worksheet Functions 3 December 13th 07 03:08 PM
Comma Delimited-need comma at beginnng & end Tattoo Excel Discussion (Misc queries) 2 December 11th 07 04:39 PM
how do I get data from an array into one cell (comma delimited) bb Excel Discussion (Misc queries) 1 January 15th 06 12:26 PM


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