Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 177
Default HOW DO I CONVERT A .TXT FILE TO EXCEL

I'm using Excel 2003. I have a basic text file (.txt) that I need to convert
to a spreadsheet in Excel. Visually the text file appears to be in columns.

Normally I would copy the text file to Word and then go through the steps to
replace the spaces with tabs, then converting text to table, then copy to
Excel. However, the text file I'm working with doesn't have a uniform number
of spaces separating each column (e.g. 1-8 spaces before tems). So unless I
want to go through the entire text file line by line and insert the tabs, I
can't figure out how to do it.

Is there an easy way to convert this file?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default HOW DO I CONVERT A .TXT FILE TO EXCEL

If you open the text file in NotePad, does it look like it's in columns?

If yes, then drop the MSWord stuff and just use:
File|Open
to open the text file.

You'll be prompted with a text import wizard and you can choose that your data
is in a fixed width format.



Todd wrote:

I'm using Excel 2003. I have a basic text file (.txt) that I need to convert
to a spreadsheet in Excel. Visually the text file appears to be in columns.

Normally I would copy the text file to Word and then go through the steps to
replace the spaces with tabs, then converting text to table, then copy to
Excel. However, the text file I'm working with doesn't have a uniform number
of spaces separating each column (e.g. 1-8 spaces before tems). So unless I
want to go through the entire text file line by line and insert the tabs, I
can't figure out how to do it.

Is there an easy way to convert this file?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default HOW DO I CONVERT A .TXT FILE TO EXCEL

Or if not fixed width...........use delimited byspace and in second step of
wizard checkmark "treat consecutive delimiters as one"

This will treat the 8 spaces as one space.


Gord Dibben MS Excel MVP

On Tue, 23 Sep 2008 11:11:32 -0500, Dave Peterson
wrote:

If you open the text file in NotePad, does it look like it's in columns?

If yes, then drop the MSWord stuff and just use:
File|Open
to open the text file.

You'll be prompted with a text import wizard and you can choose that your data
is in a fixed width format.



Todd wrote:

I'm using Excel 2003. I have a basic text file (.txt) that I need to convert
to a spreadsheet in Excel. Visually the text file appears to be in columns.

Normally I would copy the text file to Word and then go through the steps to
replace the spaces with tabs, then converting text to table, then copy to
Excel. However, the text file I'm working with doesn't have a uniform number
of spaces separating each column (e.g. 1-8 spaces before tems). So unless I
want to go through the entire text file line by line and insert the tabs, I
can't figure out how to do it.

Is there an easy way to convert this file?


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
How do convert a quattro pro 10 file to an excel 2003 file? EPCPH Excel Discussion (Misc queries) 1 October 18th 06 09:26 PM
excel 2002 -how can you convert a file to a pdf read only file? spunkyf15 Excel Discussion (Misc queries) 4 September 29th 06 09:36 PM
How do I convert an excel file into a comma separated values file Conquerer Excel Discussion (Misc queries) 3 August 17th 06 09:19 PM
How do I convert excel file into ASCII text file with alignment? Rosaiah Excel Discussion (Misc queries) 2 June 27th 05 12:17 PM
Convert excel file to flat text file Lannutslp Excel Discussion (Misc queries) 1 June 1st 05 03:48 AM


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