Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jim
 
Posts: n/a
Default How do I import/convert tab delimited text files into Excel?

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

select the column, then choose DataText to Columns... from the menu

Select delimited, and check the tab box. You can also specify whether to
ignore some columns & otherwise customize the conversion of the data

If you want to accomplish this on opening the file, be sure the file has a
txt extension, and Excel should bring the Import wizard dialog box up before
importing the file


"jim" wrote:

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks

  #3   Report Post  
Jim
 
Posts: n/a
Default



"Duke Carey" wrote:

select the column, then choose DataText to Columns... from the menu

Select delimited, and check the tab box. You can also specify whether to
ignore some columns & otherwise customize the conversion of the data

If you want to accomplish this on opening the file, be sure the file has a
txt extension, and Excel should bring the Import wizard dialog box up before
importing the file


"jim" wrote:

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks

  #4   Report Post  
Jim
 
Posts: n/a
Default

I have been trying this, and I DO get the text import box. But the tabbed
data is not formatting into columns. Nothing seems to be working. The data
just remains in the first column with 100 rows. Might I need a converter that
does not come with Excel 2003?

PS. Sound like a dumb question, but I want the individual records to be
placed into rows, not columns. The "text to column" function isn't working,
but that won't help me anyway. What I need is a "text-to-rows" function. (I
must be doing something fundamentally wrong becuase there is no such
function).

"Duke Carey" wrote:

select the column, then choose DataText to Columns... from the menu

Select delimited, and check the tab box. You can also specify whether to
ignore some columns & otherwise customize the conversion of the data

If you want to accomplish this on opening the file, be sure the file has a
txt extension, and Excel should bring the Import wizard dialog box up before
importing the file


"jim" wrote:

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks

  #5   Report Post  
Duke Carey
 
Posts: n/a
Default

Text to Columns will take each row of text and split it into different
columns across a single row, which is probably what you want, right?

Now, as to your data -
is each row wrapped with double quotation marks?
are you sure that there are tab delimiters?
what do you get if you choose Fixed Width?

Can you paste a couple rows of your text file here?


"Jim" wrote:

I have been trying this, and I DO get the text import box. But the tabbed
data is not formatting into columns. Nothing seems to be working. The data
just remains in the first column with 100 rows. Might I need a converter that
does not come with Excel 2003?

PS. Sound like a dumb question, but I want the individual records to be
placed into rows, not columns. The "text to column" function isn't working,
but that won't help me anyway. What I need is a "text-to-rows" function. (I
must be doing something fundamentally wrong becuase there is no such
function).

"Duke Carey" wrote:

select the column, then choose DataText to Columns... from the menu

Select delimited, and check the tab box. You can also specify whether to
ignore some columns & otherwise customize the conversion of the data

If you want to accomplish this on opening the file, be sure the file has a
txt extension, and Excel should bring the Import wizard dialog box up before
importing the file


"jim" wrote:

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks



  #6   Report Post  
Jim
 
Posts: n/a
Default

Yes, you undertsand completely what I'm trying to do. Here are the first two
rows of the file I'm trying import and then use the "text-to-column"
function. Turns out there ARE quotes but not on every line but every other
line.

Acme Electric Aerospace Division l Adams Rite Aerospace l Aerocontrolex
Group l Aerojet GE Corp. l Aerospace
"Corporation l Aerospace Industrial Development Corporation l ArmorWorks,
Inc. l Avionics Specialties l Axsys"

Is this tab delimted? I sure appreciate your help.

"Duke Carey" wrote:

Text to Columns will take each row of text and split it into different
columns across a single row, which is probably what you want, right?

Now, as to your data -
is each row wrapped with double quotation marks?
are you sure that there are tab delimiters?
what do you get if you choose Fixed Width?

Can you paste a couple rows of your text file here?


"Jim" wrote:

I have been trying this, and I DO get the text import box. But the tabbed
data is not formatting into columns. Nothing seems to be working. The data
just remains in the first column with 100 rows. Might I need a converter that
does not come with Excel 2003?

PS. Sound like a dumb question, but I want the individual records to be
placed into rows, not columns. The "text to column" function isn't working,
but that won't help me anyway. What I need is a "text-to-rows" function. (I
must be doing something fundamentally wrong becuase there is no such
function).

"Duke Carey" wrote:

select the column, then choose DataText to Columns... from the menu

Select delimited, and check the tab box. You can also specify whether to
ignore some columns & otherwise customize the conversion of the data

If you want to accomplish this on opening the file, be sure the file has a
txt extension, and Excel should bring the Import wizard dialog box up before
importing the file


"jim" wrote:

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks

  #7   Report Post  
Duke Carey
 
Posts: n/a
Default

Jim, you've got an ugly looking file there. It certainly isn't tab
delimited, and I can't identify the character that's used as a delimiter.
It's pasting into my instance of Excel as a lowercase letter L. You can't
use a letter as a delimiter in the text-to-columns utility without messing
everything up. Surely the source for this file wouldn't have used the letter
L as a delimiter?

Moreover, it looks like the beginning of the 2d line - the one that is
wrapped in quotes - is a continuation of the first line.

What is generating this file? Something you can control, or is it a
mainframe app or something external?

You could try 1) a search & replace for the double quotes (replacing it with
nothing, followed by a search & replace for a space-l-space sequence (that's
a lowercase L), replacing that sequence with a comma or a |
(shift-backslash), then doing the text to columns.

Beyond that, I'd rework it from the source

Good luck


"Jim" wrote:

Yes, you undertsand completely what I'm trying to do. Here are the first two
rows of the file I'm trying import and then use the "text-to-column"
function. Turns out there ARE quotes but not on every line but every other
line.

Acme Electric Aerospace Division l Adams Rite Aerospace l Aerocontrolex
Group l Aerojet GE Corp. l Aerospace
"Corporation l Aerospace Industrial Development Corporation l ArmorWorks,
Inc. l Avionics Specialties l Axsys"

Is this tab delimted? I sure appreciate your help.

"Duke Carey" wrote:

Text to Columns will take each row of text and split it into different
columns across a single row, which is probably what you want, right?

Now, as to your data -
is each row wrapped with double quotation marks?
are you sure that there are tab delimiters?
what do you get if you choose Fixed Width?

Can you paste a couple rows of your text file here?


"Jim" wrote:

I have been trying this, and I DO get the text import box. But the tabbed
data is not formatting into columns. Nothing seems to be working. The data
just remains in the first column with 100 rows. Might I need a converter that
does not come with Excel 2003?

PS. Sound like a dumb question, but I want the individual records to be
placed into rows, not columns. The "text to column" function isn't working,
but that won't help me anyway. What I need is a "text-to-rows" function. (I
must be doing something fundamentally wrong becuase there is no such
function).

"Duke Carey" wrote:

select the column, then choose DataText to Columns... from the menu

Select delimited, and check the tab box. You can also specify whether to
ignore some columns & otherwise customize the conversion of the data

If you want to accomplish this on opening the file, be sure the file has a
txt extension, and Excel should bring the Import wizard dialog box up before
importing the file


"jim" wrote:

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks

  #8   Report Post  
Gord Dibben
 
Posts: n/a
Default

Jim

When you open the *.txt file in Excel using FileOpen, the Text Import Wizard
should open giving you a choice of delimiters.

If the Wizard doesn't open, go to DataText to Columns and select Tab
delimited.

Follow the wizard through to "Finish" and you data will go into columns.


Gord Dibben Excel MVP

On Tue, 3 May 2005 08:53:05 -0700, jim wrote:

I want the individual tab delimited fields to be represented in Excel as rows
of their own. Right now the entire tab delimited file is in the first column.

Thanks


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
Importing multiple Text files into Excel 2003 JMA Excel Discussion (Misc queries) 5 May 5th 05 09:48 PM
Text to Columns in excel for delimited files - allow trimming opt. D. Young New Users to Excel 1 April 25th 05 05:06 PM
multiple text files URGENT tasha Excel Discussion (Misc queries) 1 December 19th 04 05:44 PM
importing multiple text files URGENT!!! HELP tasha Excel Worksheet Functions 0 December 19th 04 04:26 PM
importing multiple text files??? tashayu Excel Discussion (Misc queries) 0 December 19th 04 02:43 PM


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