Power query and loading a column into multiple files in a folder before importing them from the folder

seancsn

New Member
Joined
Feb 12, 2015
Messages
18
I have 36 large csv files (each around 3GB in size) that I have a in a folder on my c drive. I would like to use the folder import option in Power Query. Before they are imported, I need to add a column eg. Monthdate, which inserts a date into all rows for a file, which is specific to the name of the file eg. if the file is named "Jan 15" then I need the date to be inserted to be "15/01/2015" etc.

Would this be possible or should I import each file individually and add the column manually?

Thanks in advance

Sean
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi Sean,

You can import the csv files with a custom formula instead of the Binary expansion. If this question is still valid, I can help you out with this query. Its quite an easy process using Power Query.
 
Upvote 0
Thank you so much RudiS. I have managed to deal with it through Power Query and method described by Ken Puls
 
Upvote 0
Excellent. I thought I'd just inquired since there was no replies to the post. Cheers.
 
Upvote 0

Forum statistics

Threads
1,224,090
Messages
6,176,289
Members
452,719
Latest member
Boonchai Charoenek

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