ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Importing text with text qualifier (https://www.excelbanter.com/excel-discussion-misc-queries/231701-importing-text-text-qualifier.html)

slusby

Importing text with text qualifier
 
I am trying to import general formatted text from a Microsoft Wordpad .txt
file into Excel 2007. The data is delimited by a space, continuous
delimiters are selected to be treated as one, and my text qualifier is ".

The import wizard preview, as well as the final import into excel, does not
recognize " as a text qualifier, and puts text contained within text
qualifiers in separate cells if separated by a delimiter within text
qualifiers.

For example:
..txt file:
€śVelocity at Muzzle€ť €śEnergy at Muzzle€ť Trajectory
€śIn yards€ť 100 200 300 400 500 100 200 300 400 500 100 300 400 500

Imported data:
Cell A1: "Velocity
Cell B1: at
Cell C1: Muzzle"

What do I need to do to make this import work?

TIA

Sheeloo

Importing text with text qualifier
 
Following might be the source of your problem;
- Your text begins with €ś (CODE 147) and ends with €ť (CODE 148) whereas you
should use " (CODE 34) at both ends... This might be due to pasting in your
post..

- First row has Trajectory at the end without any quotes... remove that or
put it within quotes and test.

"slusby" wrote:

I am trying to import general formatted text from a Microsoft Wordpad .txt
file into Excel 2007. The data is delimited by a space, continuous
delimiters are selected to be treated as one, and my text qualifier is ".

The import wizard preview, as well as the final import into excel, does not
recognize " as a text qualifier, and puts text contained within text
qualifiers in separate cells if separated by a delimiter within text
qualifiers.

For example:
.txt file:
€śVelocity at Muzzle€ť €śEnergy at Muzzle€ť Trajectory
€śIn yards€ť 100 200 300 400 500 100 200 300 400 500 100 300 400 500

Imported data:
Cell A1: "Velocity
Cell B1: at
Cell C1: Muzzle"

What do I need to do to make this import work?

TIA



All times are GMT +1. The time now is 01:50 PM.

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