Excel: Folder Contents into Excel

This page is an advertiser-supported excerpt of the book, Power Excel 2010-2013 from MrExcel - 567 Excel Mysteries Solved. If you like this topic, please consider buying the entire e-book.


Windows Explorer will show you a list of files in a folder, You can sort by name, sort by date, sort by size. But sometimes it would be great to have this list in Excel. Power Query makes this simple.

  1. Select Power Query, From File, From Folder.
  2. Browse to your folder. Click OK.
  3. You initially see useful columns like Date Modified, File Name, but important columns such as Size are missing. Find the Attributes column and click the Expand icon. You are now given a list of additional fields that you can add to the grid.

  1. The Expand icon often has hidden fields.