List all the files in a folder and subfolders with Power Query

  Рет қаралды 14,888

Excel Off The Grid

Excel Off The Grid

Күн бұрын

★ Want to automate Excel? Check out our training academy ★
exceloffthegrid.com/academy
★ Check out the blog post ★
exceloffthegrid.com/power-que...
★ About this video ★
This video shows:
- How to list all the files in a folder and subfolder with Power Query
- Use file attributes such as Size, Read-Only, Last Modified date
- Difference between Folder.Contents & Folder.Files
0:00 Introduction
1:03 List the files in a folder and subfolders
3:18 List files in the folder only
4:22 File attributes
5:40 Summary
★ Download 30 most useful Excel VBA Macros ebook for FREE ★
exceloffthegrid.com/
★ Where to find Excel Off The Grid ★
Blog: exceloffthegrid.com
Twitter: / exceloffthegrid
#MsExcel #PowerQuery

Пікірлер: 28
@sebfromgermany3819
@sebfromgermany3819 Жыл бұрын
Thanx for sharing. It’s a really powerful tool which I use regularly. Good that you opened up the Attributes column - I never looked into it. Your column “full file path” is becoming magic in an Excel table if you add a column where you combine it with the excel hyperlink function. This way you can open any file without leaving excel. Cheers Seb
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
I had not thought of that... Genius idea ⭐⭐⭐⭐⭐
@waitplanwp4129
@waitplanwp4129 Жыл бұрын
wow man!!! great idea
@wayneedmondson1065
@wayneedmondson1065 Жыл бұрын
Awesome tips Mark! I've been using this feature for some time and it is very useful. Thanks for the demo. Thumbs up!!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Thanks Wayne, I appreciate the encouragement. 😀
@franciscocelaya6616
@franciscocelaya6616 Жыл бұрын
Excellent tutorial. Thanks for sharing!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Glad it was helpful!
@axeemx
@axeemx Жыл бұрын
Thanks Mark! This channel is really good for PQ enthusiasts. This channel deserves more subscribers. Kudos 👍🏻👍🏻💪🏻💪🏻
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
I would love more subscribers… maybe one day. 😀
@axeemx
@axeemx Жыл бұрын
@@ExcelOffTheGrid of course. you will get more with your quality tutorials.
@Patiencelad
@Patiencelad Жыл бұрын
Great info. Thanks very much!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
You’re welcome.
@martyc5674
@martyc5674 Жыл бұрын
Brilliant Mark- Folder.Content => Excellent
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Yes, Folder.Contents is useful. It’s one of the functions which isn’t available in the user interface.
@stefanolarghi4860
@stefanolarghi4860 Жыл бұрын
The best teacher!!!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Thank you, that is very nice of you to say.
@Sumanth1601
@Sumanth1601 Жыл бұрын
Great content 😊 Subscribed
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Great news, thanks Sunmanth.
@ahmed007Jaber
@ahmed007Jaber Жыл бұрын
Thank you for this. this is superb! possible to move files around using excel? if given the path to the old and new paths???
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Yes, but you will need a bit of VBA magic to move them. I’ve got a guide here to deal with that: exceloffthegrid.com/vba-code-to-copy-move-delete-and-manage-files/
@ahmed007Jaber
@ahmed007Jaber Жыл бұрын
@@ExcelOffTheGrid thank u for this Wish there was a way in power query Looking for ideas to do it using tables sith old and new paths
@zvikalevin6868
@zvikalevin6868 Жыл бұрын
Excellent video, is it also possible to extract file attribute like owner, thanks
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
I don’t think that is one of the attributes available.
@MrSamahiji
@MrSamahiji Жыл бұрын
Hi, I tried this idea, but came across the issue of max file length. I need to have the pdf files only. Is it possible to filter out all other folders in the source so the query doesn't need to scan other lengthy folders?
@MeysamMoradi
@MeysamMoradi 10 ай бұрын
1:06 how can we do this on macos excel ?
@sumit147601
@sumit147601 4 ай бұрын
hi, would anyone be able to explain how to get a folder structure without the files? I currently have a share I woudl like to get a folder structure for. Thanks in advance
@ExcelOffTheGrid
@ExcelOffTheGrid 4 ай бұрын
In Power Query change the code in the source step from Folder.Files to Folder.Contents.
@sumit147601
@sumit147601 4 ай бұрын
@@ExcelOffTheGrid thank you for getting back to me. I tried this and it still shows the full content of the folder including files. I am trying to get just the folder levels. Another great help would be to limit the level of folder to list. Thank you in advance 👍🏻
13 - Combine All the Excel Files in a folder Using Power Query
10:31
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 72 МЛН
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 13 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 57 МЛН
How to Get a List of all Files in a Folder and Subfolders into Excel
3:15
How to Get List of File Names in a Folder using Excel
5:40
Excel Weez
Рет қаралды 6 М.
List all the Files in a folder and Subfolders using Power Query
10:52
4 METHODS to Filter by a List in Power Query | Excel Off The Grid
13:14
Excel Off The Grid
Рет қаралды 31 М.
3 Methods to unpivot in Excel using Power Query | Excel Off The Grid
11:38
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 72 МЛН