Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Get the List of File Names in a Folder in Excel (without VBA)
ChannelTrumpExcelDescription from the creator
In this video, I will show you how to get a list of file names from folders into Excel (without the use of any VBA or coding).
You can use this technique to fetch all the file names from a folder and list that in Excel.
This Excel trick uses an old Excel Function - FILES.
FILES function can be used to get the list of all the file names (or specific file names) in a specific folder in Excel. It an old excel function that does not work in the worksheet, but still works in named ranges in Excel.
All you need is this formula with the folder address.
To get the folder address, save the excel file in the same folder and use this formula - =SUBSTITUTE(CELL("filename"),RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("@",SUBSTITUTE(CELL("filename"),"\","@",LEN(CELL("filename"))-LEN(SUBSTITUTE(CELL("filename"),"\",""))),1)),"*")
One of the good things about this method is that it allows you to get specific files from the folder. For example, if you want to only get Excel files or only Word Files, or Only files with a specific extension, you can do that using this method.
Here is a step-by-step written tutorial (which also shows how to do this using VBA):
trumpexcel.com/list-of-file-names-from-a-folder…
Free Excel Course - trumpexcel.com/learn-excel/
Paid Online Training - trumpexcel.com/excel-training/
Best Excel Books: trumpexcel.com/best-excel-books/
⚙️ Gear I Recommend:
Camera - amzn.to/3bmHko7
Screen Recorder - techsmith.z6rjha.net/26D9Q
USB Mic - amzn.to/2uzhVHd
Wireless Mic: amzn.to/3blQ8uk
Lighting - amzn.to/2uxOxRv
Subscribe to get awesome Excel Tips every week: youtube.com/user/trumpexcel?sub_confirmation=1
Note: Some of these links here are affiliate links!
#Excel #ExcelTips #ExcelTutorial
You can use this technique to fetch all the file names from a folder and list that in Excel.
This Excel trick uses an old Excel Function - FILES.
FILES function can be used to get the list of all the file names (or specific file names) in a specific folder in Excel. It an old excel function that does not work in the worksheet, but still works in named ranges in Excel.
All you need is this formula with the folder address.
To get the folder address, save the excel file in the same folder and use this formula - =SUBSTITUTE(CELL("filename"),RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("@",SUBSTITUTE(CELL("filename"),"\","@",LEN(CELL("filename"))-LEN(SUBSTITUTE(CELL("filename"),"\",""))),1)),"*")
One of the good things about this method is that it allows you to get specific files from the folder. For example, if you want to only get Excel files or only Word Files, or Only files with a specific extension, you can do that using this method.
Here is a step-by-step written tutorial (which also shows how to do this using VBA):
trumpexcel.com/list-of-file-names-from-a-folder…
Free Excel Course - trumpexcel.com/learn-excel/
Paid Online Training - trumpexcel.com/excel-training/
Best Excel Books: trumpexcel.com/best-excel-books/
⚙️ Gear I Recommend:
Camera - amzn.to/3bmHko7
Screen Recorder - techsmith.z6rjha.net/26D9Q
USB Mic - amzn.to/2uzhVHd
Wireless Mic: amzn.to/3blQ8uk
Lighting - amzn.to/2uxOxRv
Subscribe to get awesome Excel Tips every week: youtube.com/user/trumpexcel?sub_confirmation=1
Note: Some of these links here are affiliate links!
#Excel #ExcelTips #ExcelTutorial
About this tutorial
TrumpExcel published this 8:13 video tutorial on November 6, 2015. It has been watched 331,890 times on YouTube.
- Channel
- TrumpExcel
- Category
- Education
- Duration
- 8:13
- Published
- November 6, 2015
- Views
- 331,890
- Likes
- 2,304
Tags
Share
This tutorial in other languages
- FRComment obtenir la liste des noms de fichiers dans un dossier dans Excel (sans VBA)
- ESCómo obtener la lista de nombres de archivo en una carpeta en Excel (sin VBA)
- PTComo obter a lista de nomes de arquivos em uma pasta no Excel (sem VBA)
- ITCome ottenere l'elenco dei nomi di file in una cartella in Excel (senza VBA)
- DEWie die Liste der Dateinamen in einem Ordner in Excel (ohne VBA) erfahren
- NLHoe de lijst met bestandsnamen Krijg in een map in Excel (zonder VBA)
- RUКак получить список имен файлов в папке в Excel (без VBA)
- PLJak uzyskać listę nazw plików w folderze w programie Excel (bez VBA)
- JA(VBAなし)Excelでフォルダ内のファイル名の一覧を取得する方法
- ARكيفية الحصول على قائمة أسماء الملفات في مجلد في Excel (بدون VBA)
- HIकैसे एक्सेल में एक फ़ोल्डर में फ़ाइल नाम की सूची प्राप्त करने (VBA के बिना)
- IDCara Dapatkan Daftar Nama File dalam Folder di Excel (tanpa VBA)