importing from a *.txt file

R

Randy Bratton

I am trying to import a *.txt file that has a semi-colon delimiter. When I
run the import, Excel places each individual record into a new column. I need
to import each record into a new row instead. Can you help?


Randy Bratton
 
D

Dave Peterson

Is the semicolon a delimiter between fields on that single row/record/line?

Or is the semicolon followed by a newline character--so that each
row/record/line only has one field?
 
R

Randy Bratton

yes- these are email addresses so for example the text file shows
(e-mail address removed); (e-mail address removed); etc. When I import into Excel,
(e-mail address removed) shows up in cell A1, (e-mail address removed) shows up in cell B1, etc.
all the way across Row 1. I really need for the data to import as A1, A2,
etc. Thanks.
 
D

David Biddulph

Edit your txt file, and replace all semi-colons by paragraph markers.

Alternatively, having pulled everything into a row in Excel you can Copy,
then Edit/ Paste Special/ Transpose to put into a column.
 
D

Dave Peterson

Just to add to David's response.

Open you text file in MSWord.
Select all the text
Edit|replace
what: ; (semicolon character)
Click on the More button if the additional options aren't visible
Click inside the Replace with box
click the Special characters button
select paragraph mark

Replace all

Copy|paste special|text into Excel
or save as a .txt file and import the way you like.
 

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