problem converting delimited text to Excel

  • Thread starter Thread starter Mukesh Thakkar
  • Start date Start date
M

Mukesh Thakkar

I have a text file with these two lines
"37-3'3"","93-23'30"",
"39-9'39"N","94-34'49"W",

(This is latitude, longitude information)
When I open the file in Excel and on the wizard I click
comma as the delimiter and " as the text qualifier the
first row is put into one column only while the second
row is put into two columns (which is the right thing).
How can I solve this problem?
Thanks
 
If you set the text qualifier as {None} it appears to do the job.

Or you could do a global replace of the string "" in your text file. Replace it with "V" (ie some value that is not N.S,E or W) then import your text file into excel and use replace in Excel to replace the V with nothing.

unlikeKansas
 
Hi!

The combination of text qualifier ={none} and delimiter = comma works.

Al
 
unlikeKansas wrote...
If you set the text qualifier as {None} it appears to do the job.

Or you could do a global replace of the string "" in your text file.
Replace it with "V" (ie some value that is not N.S,E or W) then
import your text file into excel and use replace in Excel to
replace the V with nothing.
...

Tweaking this, if the OP imports the file without parsing into fields
then replaces all "" (2 in sequence) with """ (3 in sequence), s/h
could then use Data > Text to Columns, Delimited, using comma a
delimiter *and* " as text qualifier, and Excel will parse into field
as desired
 

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

Back
Top