Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
guyvanzyl
 
Posts: n/a
Default Exctracting comma seperated data from a single cell


I want to know how to autopopulate multiple cells from comma seperated
data that is pasted into a single cell e.g. a csv file

1,2,3

Rob 1
John 2
Steve 3


--
guyvanzyl
------------------------------------------------------------------------
guyvanzyl's Profile: http://www.excelforum.com/member.php...o&userid=35927
View this thread: http://www.excelforum.com/showthread...hreadid=557212

  #2   Report Post  
Posted to microsoft.public.excel.misc
Franz Verga
 
Posts: n/a
Default Exctracting comma seperated data from a single cell

Nel post
*guyvanzyl* ha scritto:

I want to know how to autopopulate multiple cells from comma seperated
data that is pasted into a single cell e.g. a csv file

1,2,3

Rob 1
John 2
Steve 3


Excel is able to open csv file, so you should have no problem, but if you
have, you have to way to solve:

1) Before opening your file, change the extension of file to .txt and open
it from Excel (menu File, Open, Files of type choose Text files, select your
file, Text Import Wizard will start), and choose Delimited at first step of
Text Import Wizard and Comma as Delimiters at step 2;
2) With your file opened, use Text to Columns (Menu Data, Text to Columns)
and choose Delimited at first step of Text to Columns Wizard and Comma as
Delimiters at step 2.


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #3   Report Post  
Posted to microsoft.public.excel.misc
guyvanzyl
 
Posts: n/a
Default Exctracting comma seperated data from a single cell


Thanks Franz, I will give it a go. I have used the text to columns
function but it auto populates the data across 3 columns rather than in
selected cells.


--
guyvanzyl
------------------------------------------------------------------------
guyvanzyl's Profile: http://www.excelforum.com/member.php...o&userid=35927
View this thread: http://www.excelforum.com/showthread...hreadid=557212

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Exctracting comma seperated data from a single cell

With your string of 1,2,3 in A1, use these formulas

In B1 =LEFT(A1,FIND(",",A1,1)-1) returns 1
In B2 =MID(A1,FIND(",",A1,1)+1,FIND(",",A1,FIND(",",A1,1 ))-1) returns 2
IN B3 =MID(A1,FIND(",",A1,FIND(",",A1,1)+1)+1,99) returns 3

hth
Vaya con Dios,
Chuck, CABGx3



"guyvanzyl" wrote:


I want to know how to autopopulate multiple cells from comma seperated
data that is pasted into a single cell e.g. a csv file

1,2,3

Rob 1
John 2
Steve 3


--
guyvanzyl
------------------------------------------------------------------------
guyvanzyl's Profile: http://www.excelforum.com/member.php...o&userid=35927
View this thread: http://www.excelforum.com/showthread...hreadid=557212


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
Splitting data in a single cell that is seperated by commas, then moving to make individual rows [email protected] Excel Discussion (Misc queries) 2 April 3rd 06 10:44 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
How Do I Enter Data Into A Single Cell sinbad Excel Worksheet Functions 3 July 29th 05 11:27 PM
column values to a cell with comma seperated Raju Boine. Excel Worksheet Functions 3 July 27th 05 03:30 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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