#1   Report Post  
Junior Member
 
Posts: 1
Default Seperating text

Im trying to create a template in which an sdf file will be dropped into my spreadsheet, there will be anywhere between 2000 and 50000 strings of data droped in to the sheet which look like this

1,33,52,47,0,0,3
2,36,55,47,0,2,0
3,38,53,47,0,0,0
4,39,52,47,0,0,0

once the data is dropped in i need it to seperate every value into a new cell so it appears like this

1| 33| 52| 47| 0| 0| 3|
ect

i know that i can use the data tab once i have the data in there but i need to know how i can set it up so that i dont have to touch anything when the data is dropped in, is there a formula in which u can use this process so that it will automatically do it once there is data in the sheet?

the second thing is i need to know a way of reading how many lines of data are bieng input so that the outcomes at the end will no have to be in a static location.... any ideas plz
  #2   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by nick2407 View Post
Im trying to create a template in which an sdf file will be dropped into my spreadsheet, there will be anywhere between 2000 and 50000 strings of data droped in to the sheet which look like this

1,33,52,47,0,0,3
2,36,55,47,0,2,0
3,38,53,47,0,0,0
4,39,52,47,0,0,0

once the data is dropped in i need it to seperate every value into a new cell so it appears like this

1| 33| 52| 47| 0| 0| 3|
ect

i know that i can use the data tab once i have the data in there but i need to know how i can set it up so that i dont have to touch anything when the data is dropped in, is there a formula in which u can use this process so that it will automatically do it once there is data in the sheet?

the second thing is i need to know a way of reading how many lines of data are bieng input so that the outcomes at the end will no have to be in a static location.... any ideas plz
Supposing that the value in A1 is 1,33,52,47,0,0,3

Do the formula;
- in A2
=LEFT(A1,1)
- in A3
=MID(A1,3,2)
- in A4
=MID(A1,6,2)

So on and so forth.

Another way is to use the Text-to-Columns feature and use comma as your delimited text.

I'm quite confused with your 2nd question....
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
Seperating numbers from text mns Excel Discussion (Misc queries) 2 July 24th 08 10:52 AM
Seperating Text from Columns Greg Wilson Excel Discussion (Misc queries) 0 March 28th 07 02:50 AM
Seperating Text from Columns Johnny B[_2_] Excel Discussion (Misc queries) 0 March 28th 07 01:16 AM
seperating values from text enyaw Excel Discussion (Misc queries) 18 January 15th 07 03:49 PM
Seperating text Richard Excel Discussion (Misc queries) 8 June 29th 06 10:21 PM


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