ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   split text , insert to columns (https://www.excelbanter.com/excel-discussion-misc-queries/74603-split-text-insert-columns.html)

nshanmugaraj

split text , insert to columns
 

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


--
nshanmugaraj
------------------------------------------------------------------------
nshanmugaraj's Profile: http://www.excelforum.com/member.php...o&userid=31570
View this thread: http://www.excelforum.com/showthread...hreadid=517836


Ron Coderre

split text , insert to columns
 

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


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=517836


David Biddulph

split text , insert to columns
 
"nshanmugaraj"
wrote in message
news:nshanmugaraj.23zz90_1141227624.9209@excelforu m-nospam.com...

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.
--
David Biddulph



David Biddulph

split text , insert to columns
 
"Ron Coderre"
wrote in message
...

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?


From Excel, File/ Open/ files of type "text", then select your txt file, &
then select delimited with space as the delimiter.
--
David Biddulph



nshanmugaraj

split text , insert to columns
 

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.


--
nshanmugaraj
------------------------------------------------------------------------
nshanmugaraj's Profile: http://www.excelforum.com/member.php...o&userid=31570
View this thread: http://www.excelforum.com/showthread...hreadid=517836



All times are GMT +1. The time now is 05:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com