Treat Quotations as text?

sjbayer3

New Member
Joined
Apr 9, 2010
Messages
8
I am importing large amounts of data from a CSV file into excel in the following format:
Column 1 contains text, columns 2-20 contain data specific(for each row) to the text in column 1.

Some of the text in column 1 begins with quotations such as:

"radiant wood"
radiant wood
[radiant wood]

Here is the issue:

Because excel removes the quotations, my vlookup command is mixing the phrases with quotations with the phrases that do not contain quotations.

Is there any way to fix this?

Thank you much!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi

Try the following

- change the extension of the csv file to txt
- open the txt file, you'll be taken to the Text to Columns Dialog
1. in the first panel choose Delimited and press next
2. in the second panel uncheck all delimiters except comma.
3. the Text Qualifier is by default the double quote. Change it to {none}
4. Press Finish

This should keep the quotes when you open the file.

Please test.
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top