HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Get the List of File Names in a Folder in Excel (without VBA)

331,890 views November 6, 2015 8:13

Watch on YouTube
ChannelTrumpExcel

Description 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

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