Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Parsing string to multiple columns

I have following set of data in Excel sheet:

Cell:Data (... - means the dtring is longer than depicted here)

A1: .91,200.3,000.0,050.0,000.0,000.4,900.0,000...
A2: .90,400.3,000.1,000.0,700.3,000.4,000.0,000...
An: 34 decimal numbers in a row, delimited by PERIOD (I can apply any
charaсter).

I need a macros or easy procedure to parse abovemetioned strings set into
following representation:

B C D E F G H ...
1: 91,200 3,000 0,050 0,000 0,000 4,900 0,000 ...
2: 90,400 3,000 1,000 0,700 3,000 4,000 0,000 ...
n: 34 decimal numbers each in its own cell column.

Please help me do that. I'm stuck... I know VBA not so well, so working
macros or complete code would be appreciated. Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Parsing string to multiple columns

On Sun, 3 Jun 2007 17:54:00 -0700, Goujon
wrote:

I have following set of data in Excel sheet:

Cell:Data (... - means the dtring is longer than depicted here)

A1: .91,200.3,000.0,050.0,000.0,000.4,900.0,000...
A2: .90,400.3,000.1,000.0,700.3,000.4,000.0,000...
An: 34 decimal numbers in a row, delimited by PERIOD (I can apply any
chara?ter).

I need a macros or easy procedure to parse abovemetioned strings set into
following representation:

B C D E F G H ...
1: 91,200 3,000 0,050 0,000 0,000 4,900 0,000 ...
2: 90,400 3,000 1,000 0,700 3,000 4,000 0,000 ...
n: 34 decimal numbers each in its own cell column.

Please help me do that. I'm stuck... I know VBA not so well, so working
macros or complete code would be appreciated. Thanks in advance.


Select A1:An

Select Data/Text to Columns
Delimited
Next
Select Other and type a PERIOD (.) in the box
Finish
--ron
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Parsing string to multiple columns

Thanks Ron, that's what I wanted. You saved me a lot of time!

"Ron Rosenfeld" wrote:

On Sun, 3 Jun 2007 17:54:00 -0700, Goujon
wrote:

I have following set of data in Excel sheet:

Cell:Data (... - means the dtring is longer than depicted here)

A1: .91,200.3,000.0,050.0,000.0,000.4,900.0,000...
A2: .90,400.3,000.1,000.0,700.3,000.4,000.0,000...
An: 34 decimal numbers in a row, delimited by PERIOD (I can apply any
chara?ter).

I need a macros or easy procedure to parse abovemetioned strings set into
following representation:

B C D E F G H ...
1: 91,200 3,000 0,050 0,000 0,000 4,900 0,000 ...
2: 90,400 3,000 1,000 0,700 3,000 4,000 0,000 ...
n: 34 decimal numbers each in its own cell column.

Please help me do that. I'm stuck... I know VBA not so well, so working
macros or complete code would be appreciated. Thanks in advance.


Select A1:An

Select Data/Text to Columns
Delimited
Next
Select Other and type a PERIOD (.) in the box
Finish
--ron

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Parsing string to multiple columns

On Sun, 3 Jun 2007 18:50:00 -0700, Goujon
wrote:

Thanks Ron, that's what I wanted. You saved me a lot of time!


You're welcome. Glad to hear that it worked for you.
--ron
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
parsing a string BorisS Excel Programming 0 April 23rd 07 02:14 AM
Parsing a string neverends Excel Programming 2 June 7th 06 05:38 PM
Parsing a string simonc Excel Programming 4 March 27th 06 08:04 AM
Need help parsing a string Daminc[_38_] Excel Programming 4 January 26th 06 11:53 AM
parsing a string Mark[_57_] Excel Programming 4 April 28th 05 04:42 PM


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