MS Excel

Ultimate guide to import all files from a folder into Excel

I know what you’re thinking: “Another blog post about importing all excel files in a folder”, but this couldn’t be farther from the truth. As the title says, this is the ULTIMATE guide to import all files from a folder and I’ll cover from very simple scenarios to dealing with dynamic starting rows or importing specific cells.

The tool that I’ll be using for this is called Power Query (or Get and Transform in Excel 2016). If you have Excel 2010 or 2013, you can download Power Query from this link. If you have Excel 2016 it is already embedded in Excel.

Note: For all these examples, I’ll use Excel 2016, but you can do it with Excel 2010/2013.

In Excel 2016, Power Query is in the Data Tab as shown below:

In Excel 2010/2013, Power Query is in a separate tab as shown below:

Therefore, if you have Excel 2010/2013 when I say Data New Query, you should go to the Power Query tab.

I created a separate post for each import scenarios. Use the links below to a specific scenario: 

Import scenarios

NEWS: Microsoft has updated the combine file experience for Office 365 subscribers, stay tuned for a post about this. Subscribe to the website to be notified.

I tried to cover as much as possible about this topic but if you encounter any other challenges please let me know.  This will be a live post that I’ll modify as new Power Query updates come up.

Subscribe to the website if you want to be notified when this post is updated.

Please share this post so more people can benefit!

Newsletter

Stay up to date with our latest news, receive exclusive deals, and more.

© Master Data Analysis All Rights Reserved 2024

Orlando Mezquita

Love helping out people to get better using data analysis tools! My day job is statistician for a Pharmaceutical Company.

View Comments

  • Hi, Orland.
    Thank you for sharing this information. The links only work for the top two scenarios though. Can you please adjust the remaining three links?
    Thanks!
    ~Erin

Share
Published by
Orlando Mezquita

Recent Posts

18 courses to learn R in 2018

Do you want to learn or get better at R programming?  If yes, you will…

7 years ago

Calculating the median in Excel PivotTables

Go to Master Data Analysis Yes, you read the title of this post correctly, you…

7 years ago

Using R to predict if a customer will buy

In this post, I’ll show how to create a simple model to predict if a…

8 years ago

Data Science for Beginners

Are you wondering what's all this buzz about data science? The following videos will give…

8 years ago

Import excel files with a dynamic starting row

Go to Master Data Analysis This is the 4th post of a series that covers…

8 years ago

Import specific cells from Excel files

Go to Master Data Analysis This is the 5th post of a series that covers…

8 years ago