split text , insert to columns

N

nshanmugaraj

HI

I have the text in the notepad imported from a file.

DATE FINAL DATE NAME AMT1 AMT2 VALUE

3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00
3/31/2003 6/02/2003 HARI 7.220 15.00 693.00
3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00

and so on...

Now from the notepad , i had pasted in the excel column A.
this shows the record in column A.

how can i paste the fields each on a column.

PLEASE HELP
 
R

Ron Coderre

To make this go a little smoother....Replace the space between Final
and Date with an underscore, then:

Select the column of data
Data|Text-to-Columns
Check: Delimited....Click the [Next] button
Delimiter: Space
Click the [Finish] button

Does that help?

Regards,
Ron
 
D

David Biddulph

"nshanmugaraj" <[email protected]>
wrote in message
HI

I have the text in the notepad imported from a file.

DATE FINAL DATE NAME AMT1 AMT2 VALUE

3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00
3/31/2003 6/02/2003 HARI 7.220 15.00 693.00
3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00

and so on...

Now from the notepad , i had pasted in the excel column A.
this shows the record in column A.

how can i paste the fields each on a column.

From Excel, File/ Open/ files of type "text", then select your txt file, and
then select delimited with space as the delimiter.
 
N

nshanmugaraj

dear Ron Coderre, David Biddulph
Thanks for the reply.

but .. I need to open the notepad and do the split by writng an
macro..

PLS REPLY since the problem is , my manager is opening the files in
excel and on a click of a button , the data should be splitted.

DATE FINAL DATE NAME AMT1 AMT2 VALUE

3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00
3/31/2003 6/02/2003 HARI 7.220 15.00 693.00
3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00

and so on...

the record in column A. should be spliteed if it is date and othewise
the data shoulld not be splittted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top