Loading CSV with Quotes

roei61

New Member
Joined
Jul 20, 2014
Messages
1
Hi All,

I have a csv file that I need to load to a table in PowerPivot.
the file contains some strings and in one column the string contain quotes sign in it.
I noticed that the quotes are cutting the rest of the string.
Does somebody has an idea how I can load the file include the quotes?

Thanks,
Roei
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
hmm...

So, there isn't actually a definitive "standard" on what it means to be a properly formatted csv file. If power pivot is having a tough time with it, you are going to have to do something else. Things you could try:

* bring into excel first, and "massage" it
* try Power Query
* Edit the file by hand first, with an editor or automated tool

The normal escape for a quote inside a string is to send 2 quotes, so "I am 6'3" tall" becomes "I am 6'3"" tall"
 
Upvote 0

Forum statistics

Threads
1,224,020
Messages
6,175,970
Members
452,691
Latest member
Tony_Almeida

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