PowerQuery - Split a column of text with extra "

potap

New Member
Joined
Sep 5, 2014
Messages
43
Hi!

I have a question about some tricky csv files... Let's say that all my files have extra " and have no header. I want to combine them but I can't find a way to make it work correctly in PowerQuery. It doesn't split the string because of the " at the beginning and at the end. Excel has the Text Qualifier option in the Convert Text to Columns Wizard and with this, it works fine. I don't want to convert the files in Excel and then combine them in PowerQuery.


Here is what I am talking about :
"6/20/16,""ExpanseX"",110.95"
"6/20/16,""ExpanseY"",10.65"
"6/20/16,""ExpanseZ"",1000.00"


Let's say the header should be Date, Description, Amount

Thanks for the help!!!
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Type Value to find as " and left Replace as blank in Replace values in Get Transform tab of Power Query and then use Split column by delimiter comma.
 
Upvote 0

Forum statistics

Threads
1,216,038
Messages
6,128,447
Members
449,453
Latest member
jayeshw

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