Request Help Using Power Query to List Files by Folder Names & File Size

Al Gifford

New Member
Joined
Jun 2, 2023
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Hello Board Members,

I am brand new to this forum and to using Excel and I have what I hope is an easy question I would love some help with.

I use an Acer laptop running on Windows 10 and I’m using Excel from Microsoft Office LTSC Standard 2021 - I believe this is the version that was released in the middle of 2021.

Here is what I am doing in my Power Query:

- in the Data tab, I hit the “Get Data” “From File” “From Folder” so I can list the contents of a particular folder of ebooks and audiobooks I own organized by author.

What I am seeing in the results is a list that I don’t like and which is not useful to me. Instead of giving me a list of subfolder names and file sizes, I only see a list of everything in the folder and subfolders including listing files that have an extension ending in .download or .txt or .png or .css or .html or .svg.

I would like to have a list of just the names of the file folders, the date the folder was created, and the size of the folder. If there is also a way to list the number of items in each file folder and to have the names of the contents of everything in each folder hidden from normal view but visible if I press a button on and off to show and hide new entries with these contents. I don’t know if this is possible or not. Also, is there a way I can exclude files that have the above extensions from being listed in Excel final listing?

Please let me know how I can correct what I am doing to see just the results I want to see. Also let me know if you have any questions about this post.

If you are able to respond, please be as simple and basic as possible since I am really new to Excel and it is remarkably more difficult that Microsoft Word to use.

Thanks in advance to everyone who reads this message and tries to help. Take care.

Al
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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