Тёмный

How To List All File Names from A Folder into Excel Using Formula 

Excel 10 tutorial
Подписаться 74 тыс.
Просмотров 38 тыс.
50% 1

How To List All File Names From A Folder into Excel Using Formula
In this intermediate excel tutorial, I'll show you how to get all filenames from a folder into an excel worksheet. This method can also get a list of specific file types from a folder. For example, if you want to get the List of all pdf files, you can do that. There is another optional feature included in this tutorial. You can also open that listed file from excel if you want. And all this will be done without using any VBA. I'll do it using functions and some excel features.
Now let's follow the instructions below to get filenames from a folder into excel.
Step 1: Get Folder Location: You need to do several things before you get the file name. First, you'll need to get the file path. For that, you can go to the folder, right-click on the address bar, and select copy address. Paste it into a cell; in our case, it's cell A1. Now add \* after the address.
Step 2: Now, click on the Formula tab and name manager. Now select New. Now write the name in the name box and remember it. You'll need the name. in our case, the name is "List." Now into the refers to box, write this formula: =FILES(Sheet1!$A$1)
Remember our folder address is placed in cell A1 hance we've written the reference in the formula.
Step 3: Now go to any cell of your worksheet and write this formula: =IFERROR(INDEX(List, ROW(A1))," ")
Remember the name of the named range? It was List, and it's inside our formula. Now, drag the formula to autofill and all the filenames inside your specific folder will be listed.
This is how you get a list of file names and extensions into excel. But if you need to add hyperlinks to those names so that you can open it from excel, you'll have to use the below formula:
=IFERROR(HYPERLINK(LEFT($A$1,LEN($A$1)-1)&INDEX(List,ROW(A1)),INDEX(List,ROW(A1))),"")
Now, if you want to get only pdf file names from a folder or only the excel files from a folder, you can do that easily. Remember we added \* after the file path in cell A1. Just write PDF or XLS or any file format after that you want to extract.
Lastly, if you want to use the function again just save the workbook in .xlsm format.
#FIleName #GetFileNames #Excel
Thanks for watching.
----------------------------------------------------------------------------------------
Support the channel with as low as $5
/ excel10tutorial
----------------------------------------------------------------------------------------
Please subscribe to #excel10tutorial
goo.gl/uL8fqQ
Here goes the most recent video of the channel:
bit.ly/2UngIwS
Playlists:
Advance Excel Tutorial: goo.gl/ExYy7v
Excel Tutorial for Beginners: goo.gl/UDrDcA
Excel Case: goo.gl/xiP3tv
Combine Workbook & Worksheets: bit.ly/2Tpf7DB
All About Comments in Excel: bit.ly/excelco...
Excel VBA Programming Course: bit.ly/excelvba...
Social media:
Facebook: / excel10tutorial
Twitter: / excel10tutorial
Blogger: excel10tutoria...
Tumblr: / excel10tutorial
Instagram: / excel_10_tutorial
Hubpages: hubpages.com/@...
Quora: bit.ly/3bxB8JG
Website: msexceltutoria...

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@notanotherone100
@notanotherone100 Год назад
Thank you, this helped me greatly
@Excel10tutorial
@Excel10tutorial Год назад
Glad it helped! Please subscribe and be with us
@mtths369
@mtths369 18 часов назад
Hey cool video, thanks this works. Is it possible to also list date and playtime (for music or video files)?
@nitinsingh.2107
@nitinsingh.2107 2 года назад
Super Great! Can we also list their file sizes/memory taken?
@Excel10tutorial
@Excel10tutorial 2 года назад
You can get last modified date, created date etc but not the memory. Here is it: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bpEtDqbqDTc.html
@zahidkhalid7928
@zahidkhalid7928 Год назад
very helpful, thankyou
@Excel10tutorial
@Excel10tutorial Год назад
Glad to hear that! Please subscribe and share.
@AgustinMarcos-j4s
@AgustinMarcos-j4s 9 месяцев назад
Thank you !
@Excel10tutorial
@Excel10tutorial 9 месяцев назад
You're welcome!
@IvanCortinas_ES
@IvanCortinas_ES 2 года назад
Supervideo. Thenk you!!!
@Excel10tutorial
@Excel10tutorial 2 года назад
I'm glad you like it.
@mahmoudgouda3103
@mahmoudgouda3103 11 месяцев назад
ممتاز
@flybywiresimulation
@flybywiresimulation Год назад
Thanks a lot, very useful video. I have an issue, when I do it for the first time all work fine, but when i click on the path to change it the formula doesn't work anymore. Could you help me please? I can't understund where is the issue. In your video I can see that you can change easly the path in the cell A1, when I try formula dont work anymore.
@arupkonian1064
@arupkonian1064 Год назад
If i want to list the folder name only, which command should i put insted of "FILES" Command?
@OrangeMeteor1
@OrangeMeteor1 3 месяца назад
Doesnt work for me
@AFBlastYT
@AFBlastYT 7 месяцев назад
how to sort by date
@JhihSyun
@JhihSyun Год назад
It works. And it was what I’ve been looking for. Thanks.
@Excel10tutorial
@Excel10tutorial Год назад
You're most welcome. Please subscribe and be with us.
@AndrewNgAdelaide
@AndrewNgAdelaide 7 месяцев назад
Superb, wonderful to have that. Just wonder whether the CellA! formula can pick up all the files under subfolder and subsubfolders under the folder. Do we need to change the formula?
@Storiesblue
@Storiesblue Год назад
How about import all filepath from a folder?
@kristidyson443
@kristidyson443 Год назад
Thanks for the video. I thought I was pretty good at excel but I can't figure this out. When you get to minute 2:43, I'm not sure what you mean by adding in the formula. what formula?
@Excel10tutorial
@Excel10tutorial Год назад
=IFERROR(INDEX(List, ROW(A1))," ") This is the formula. Please Check Video Description.
@vishwaschary3635
@vishwaschary3635 2 месяца назад
its not working for .mp4 formats could you please help in this regard
@Excel10tutorial
@Excel10tutorial 18 дней назад
Try These: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ONMqpf5tp44.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bpEtDqbqDTc.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-E57j4UXDIFo.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-J9poBn2fJIY.html
@ronaldibarra572
@ronaldibarra572 Год назад
Does this work on Mac? Does not seem to be working when I add the formulas you listed - it stays empty.
@Excel10tutorial
@Excel10tutorial Год назад
I didn't check it on mac
@santibinelli
@santibinelli 27 дней назад
Thanks brotherrrr!!🔥🔥🔥🔥
@Excel10tutorial
@Excel10tutorial 25 дней назад
Any time
@kotinaidunarisetti6354
@kotinaidunarisetti6354 Месяц назад
Thank you😊
@Excel10tutorial
@Excel10tutorial 25 дней назад
You're welcome 😊
@AsifAli-s7c1y
@AsifAli-s7c1y Год назад
Can I apply on share point files and folders?
@Excel10tutorial
@Excel10tutorial Год назад
Try and let us know.😉
@explorewithmangeshgaykar5288
@explorewithmangeshgaykar5288 6 месяцев назад
@@Excel10tutorial not working on onedrive adresss. and I want only folder name is it possible?
@fountainhead73
@fountainhead73 Год назад
Wow! it works really well, Thank you for this useful tip!
@Excel10tutorial
@Excel10tutorial Год назад
You're Most welcome. Please Subscribe and Be with Us.
Далее
FATAL CHASE 😳 😳
00:19
Просмотров 1,1 млн
Это нужно попробовать
00:42
Просмотров 234 тыс.
List of filenames from folder into Excel
4:22
Просмотров 27 тыс.
List of filenames from folder into Excel (Windows)
6:43
Quickly creating a list of files in a folder
3:44
Просмотров 354 тыс.
How to Get Files in a Folder in Power Automate Desktop
18:17