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

Поділитися
Вставка
  • Опубліковано 21 січ 2025

КОМЕНТАРІ • 245

  • @omkarpolekar
    @omkarpolekar 9 років тому +101

    There is a better way to do it. hit Ctrl + A (To selct all) in the folder which contains all files/folders the list of which you want. Press Shift & right click on any of the files/folders. click on 'copy as path' - Go to excel 2013 or later version - paste in cell A1 there. It will paste the whole path of all selected files in column A. In the cell B1 write only the file name of the first file/folder of your list. In cell B2 use Flash fill option or simply hit ctrl + E which will generate all the file names of the whole file/folder list. (If it doesn't then do same for B2 also & then press ctrl + E in B3 which will bring up the desired result)

    • @vamanamurthy5908
      @vamanamurthy5908 9 років тому

      +Omkar Polekar
      Worked Fine. But Flash Fill not worked

    • @muhammadaminsarfraz6525
      @muhammadaminsarfraz6525 7 років тому

      great

    • @playtone229
      @playtone229 7 років тому +1

      worked perfectly for me - the Trump Excel way didn't work for me. Thank you!

    • @MichaelDewTechTips
      @MichaelDewTechTips 7 років тому +1

      here is a video explaining the method in the above comment: ua-cam.com/video/JN65g-0k534/v-deo.html

    • @pbhat99
      @pbhat99 7 років тому +2

      This is easy to to use and works without error, but it will not update when we have added more files or when we changed our file names

  • @Fabiano2265
    @Fabiano2265 9 років тому +1

    I just wanted to say a big thank you for such a clearly explained video. Simply brilliant!

  • @RiverCityMapleCountry
    @RiverCityMapleCountry 3 роки тому

    Bravo. Can't believe this hidden trick is even existing in UA-cam.

  • @ziyonjacobvv6017
    @ziyonjacobvv6017 Рік тому

    Used this to extract 132 files names. This video saved me an hour.

  • @user-is4qh3dj4j
    @user-is4qh3dj4j 3 роки тому

    Brilliant! This is the most - straight-forward method of listing files in a folder and the biggest time-saver. If you ever get a chance to update (add to this method), I would love to see this expanded to help create a "link" to the file itself in the workbook. So, the resulting workbook can be used as a 'true IDEX of the folder contents, and when a user opens the workbook, s/he can readily "open" a give file by just clicking on the 'link' within the Excel file.) /I've done 'this" many times over my year, - using different methods/tools; but Using the formulas/method in this Video, really saves a lot of work. Best Regards. and a big THANK YOU for posting this.

  • @DDX01
    @DDX01 Рік тому

    sir ye to alphabatical sequence se import kr rha hai agr datemodified sequance se imort krne ho to kese krende?

  • @shushanknaik683
    @shushanknaik683 7 років тому

    Thank you so much amit,this video helps me to copy all my wedding files name very quickly.thanks once again.

  • @sleepot_
    @sleepot_ 8 років тому

    Thank you!
    I looked all over for help with this and your method, though long and winding as it is, is the only one that actually worked on my computer without issues.

  • @sitaramarajusagi7334
    @sitaramarajusagi7334 7 років тому

    I am immensely thankful for this video with great information.. I have many files named in Telugu Language and I wanted to have a database of files I had on different subjects in Telugu. This video Thanks once again.

  • @devbharath8329
    @devbharath8329 2 роки тому

    Useful video, i need to done this one in macro can it is possbile. Example: every day in drives file will keep on chages on day to day basics, so i want to do a macro can you help me out with that one

  • @joem112
    @joem112 9 років тому

    Cool tip! I used the Row function with no argument to increment the formula. That is a little easier.

  • @stockmarketforeveryone
    @stockmarketforeveryone Рік тому +1

    Wonderful video I loved it

  • @paulmurray4464
    @paulmurray4464 6 років тому

    This was extremely useful. I appreciate the clear presentation of the topic as well.

  • @GeorgeSee
    @GeorgeSee 2 роки тому

    you are a Genius.. many thanks for this precious video

  • @uavrecon9233
    @uavrecon9233 8 років тому

    This worked great for my needs. Quick and clear video, thank you Sir.

  • @saDikus1
    @saDikus1 Рік тому

    Awesome trick. Thanks a ton. It worked like a charm

  • @ParamveerSS
    @ParamveerSS 8 років тому

    Mr. Bansal: Fantastic!!! A top notch tutorial, made life very easy. Thank you!

  • @michaelsamchuk1819
    @michaelsamchuk1819 2 роки тому

    So helpful thanks! How can this be done to list folders instead of files?

  • @rajeevgosavi4514
    @rajeevgosavi4514 Рік тому

    Sumitji, how can we prepare a seperate list of all songs in excel from a pen drive or CD. Kindly explain.

  • @MohitJainDesigner
    @MohitJainDesigner 3 роки тому

    Does this only works to identity Excel or Docs file, what if I want to get PDF or Sub Folders Path

  • @ratheesh.m
    @ratheesh.m 4 роки тому +1

    Thanks for the technique, its saved my time

  • @madhavichowdhary
    @madhavichowdhary 9 років тому

    It was very precise and very well explained. Brilliant ! Thank you

  • @jmoney0448
    @jmoney0448 Рік тому

    This was super helpful, thank you!

  • @rajeevgosavi4514
    @rajeevgosavi4514 Рік тому

    Excellent Video to enhance our understanding. However why should we need to get the seperate list of file names , when they are already in a folder?

  • @mohanvaze1
    @mohanvaze1 Рік тому

    Thank you so much for the interesting tutorial. Earlier I was manually copy pasting the file names from the folder to excel sheet. This video is super useful. Just one question. Is it possible to create a link on all the file names in the list so that by just clicking on the file name in the list one can open the file in the folder? Please let me know. Thank you. Best regards.

  • @nboorla
    @nboorla 9 років тому

    You may just have saved my job with this! Thank you so much you've found yourself another subscriber!

  • @wrthegreat355
    @wrthegreat355 2 роки тому

    Clear and precise. Thanks.

  • @Musician25
    @Musician25 4 роки тому +1

    Very very useful stuff!!! Thank you!!!!

  • @alaaahmed6050
    @alaaahmed6050 4 роки тому

    Thanks my dear. I have a question if I want to get All file names in folder and sub folder ? How ?

  • @mohdkhairilakub8064
    @mohdkhairilakub8064 4 роки тому

    Thank you a lot. This will reduce my workload.

  • @ryanmcclintick600
    @ryanmcclintick600 2 роки тому

    how would one make this work with files stored on sharepoint onedrive (not local)

  • @premchandgada2735
    @premchandgada2735 8 років тому

    Very nicely explained, and useful. Thank you.

  • @vaibhavkulkarni3285
    @vaibhavkulkarni3285 4 роки тому

    Nice Information and really useful.

  • @ekeneduaka6888
    @ekeneduaka6888 9 років тому

    great tutorial, you just showed me another way of copying names of files.

  • @georgeradu2165
    @georgeradu2165 4 роки тому +1

    You are amazing, man! Thanks!

  • @rhythmapprentice
    @rhythmapprentice 9 років тому

    Awesome video! Thank you so much for helping me find a shortcut!

  • @yahya-gt5lw
    @yahya-gt5lw 6 років тому +2

    Thank you brother
    Good tutorial
    Thank you again.

  • @alexsemenchuk
    @alexsemenchuk Рік тому

    Dude, this is awesome!!

  • @abdulrahmanalthunayan9579
    @abdulrahmanalthunayan9579 3 роки тому

    This is very useful, many thanks to you. I could not get any files when I use it with OneDrive!

  • @vv9730
    @vv9730 Рік тому

    VERY NICE...WILL THIS AUTO-UPDATE ON ADDITIONS OF FILES IN THE FOLDER..???

  • @somaiyamilind
    @somaiyamilind 3 роки тому

    Great Video. Any chance you can show how we can create the link to actual file names which are generated? That would be a great help. Thanks

  • @zm2813
    @zm2813 8 років тому

    Hello and thank you very much for this video. If i would want to rename files in the folder consistently, can you please recommend the ways to do it?

  • @moisestatis5418
    @moisestatis5418 Рік тому

    great video, thanks. it is possible to get names of folders (not files)?

  • @CavanMitchell
    @CavanMitchell 5 років тому

    You saved my team hours of work. Thanks for the video :)

  • @Gary-ju7pz
    @Gary-ju7pz 5 років тому +1

    Hi
    I followed the steps that you provided, but it is giving me a #name?
    I have doubled checked all the spelling in my formula.
    Does this work with all types of files like .jpg ?
    Thank you for your help.

  • @StationOnLife
    @StationOnLife 8 років тому +2

    A MILLION THANKS to you for doing all these such wonderful, excellent, extremely helpful to people like me. I have been looking and wanting to be able to something like this for a long time, and could not find any tutorial on UA-cam. And also, I didn't know how to ask the question. So, this tutorial video has been a "life saver" for me. In addition, your clear, detail, helpful explanation and your right speed in your tutorial are greatly appreciated and acknowledged. Thank you so much again. (I just have a question or, perhaps, is a request. Is there a shortcut or an easier way after getting all file to the worksheet, is there an easier way for me to insert or create a hyperlink. The way I am doing it now is the old fashion way which is click Insert Hyperlink icon then select the file and so on and so on.). Thank you.

  • @saeedabbas2790
    @saeedabbas2790 4 роки тому

    Dear brother i use this formula its work but its not taking number from begning.its leaving the first 5 row and than picking the 6th row.please tell me the solution

  • @adityaprathap09
    @adityaprathap09 8 років тому

    HI, Can you help why it's not working in 2010 version. I am not getting the formula when I pressed F3

  • @Branchiesthlm
    @Branchiesthlm 9 років тому +3

    Awesome! This is exactly what i need :) almost... Is there a way to include the names of folders as well?
    I also found that in some folders, there doesn't seem to be any logic to the order in the generated array. Why isn't it always alphabetical?

  • @alyzzaazcueta
    @alyzzaazcueta 4 роки тому

    This really helpful!! Thank you so much!!

  • @byronmcfarland6786
    @byronmcfarland6786 8 років тому

    Now that we have this list of file names, can you show how to retrieve data from the workbooks using this list of names as the reference? Example you wanted the data stored in cell A1:A1 for each file.?

  • @annworthington4970
    @annworthington4970 4 роки тому

    Is there a way to get an excel list of pdf file folders? I need to do a vlookup on the pdf folder names, compared to an excel list of many more names.

  • @balubalaj
    @balubalaj 3 роки тому

    Awesome... is it possible to get the file creation date

  • @setheroth28092
    @setheroth28092 8 років тому

    I am using Excel 2016 for Mac. I followed your steps exactly, but I get a N/A error? Does the Files() function still work when defining names on a Mac? Any help you can offer is greatly appreciated. Thanks!!

  • @WildanKurniadiCode
    @WildanKurniadiCode 7 років тому +1

    Thank you so much sir! you're a life saviour.. god bless you

  • @LiquidSnake1988
    @LiquidSnake1988 7 років тому +1

    what about subfolders and their content?
    I have bunch of files inside several folders? I wanted to get their date info so I can easily sort it out in excel.
    REPLY

    • @elfo182
      @elfo182 4 роки тому

      I'm on the same issue now. I see no one replied to you in 2 years hehe

  • @popeyefoodpoint
    @popeyefoodpoint 3 роки тому

    Only Filename Displayed i need properties value automatically fill example one folder so many image here then the image name,width,height,image creation date visible on excell

  • @tajdarsiddiqui6230
    @tajdarsiddiqui6230 5 років тому

    your video are very helpful and thank to you.

  • @subashsebastian3681
    @subashsebastian3681 9 років тому

    This is Simply brilliant! however i have one question. Please can you help me by showing how can i extract all the file names which are stored in two folders. for example, I have One folder with 10 files and second folder with 10 files, what is the easiest way in getting the 20 file names.

  • @terryritivoy6220
    @terryritivoy6220 7 років тому

    This formula works great and is a huge time saver. I was hoping to expand its usefulness even further. When using this formula is it possible to include "Hyperlink" so that when the list is created the items of the list become live links in the spreadsheet referencing the files location in the folder? The links would be used to launch video files from the spreadsheet. If so this would really help me with my project. Thank you.

  • @samirawati1975
    @samirawati1975 3 роки тому

    How to save define name, because every time I open file I has to define formula again, please help

  • @Iron_ReapeR
    @Iron_ReapeR 4 роки тому

    Under what category is the FILES formula in?

  • @liletmae9159
    @liletmae9159 8 років тому

    what i need is i want to know if the value of cell'file name' is existing in a folder by not using Cntrl F..
    thanks in advance

  • @nishit6148
    @nishit6148 7 років тому

    hi, good learning video however have one doubt. do we really need to create test file in same folder from where we want file names? I tried without that and it gave me same folder path. is there a way to do without saving test file in original folder?

  • @ramkshrestha5618
    @ramkshrestha5618 4 роки тому

    The formula also displays all the files other than excel files... How can we get only the excel file list

  • @mehboom7495
    @mehboom7495 5 років тому

    Hi sir difine name ek baar set karne se nahi horaha he jab bi file open karta hun to pir se difine name karna hota he aisa kyun...????

  • @Doktor47
    @Doktor47 5 років тому

    Fantastic video my friend, a great help

  • @castillelarkin
    @castillelarkin 5 років тому

    AMAZING!!!!! Note, for some reason, I had to use the semicolon instead of the comma to separate the formula calls. Maybe because of my language settings? In any case, thanks so much!

  • @jassemaldhaheri6456
    @jassemaldhaheri6456 7 років тому

    Hi, thank you for this video its very helpful,but is there a way to make it make it read folders also

  • @erhanyildirim2242
    @erhanyildirim2242 6 років тому

    Very good tutorial. Thank you very much

  • @RecordLifeMedia
    @RecordLifeMedia 6 років тому +1

    will this work for subdirectories? I.e. folder has several folders with files, I would like to get a folder and files. I tried following it but I get nothing. Thanks.

  • @thezerked
    @thezerked 6 років тому

    You are a life saver good sir. Thanks

  • @jancopier
    @jancopier 9 років тому +1

    Thanks, this was really usefull! Now this is giving a list of files in a certain folder. How would I get the folders in this directory as well?

  • @MohAboAbdo
    @MohAboAbdo 3 роки тому

    Thank you so mutch, Sir.

  • @sree9355
    @sree9355 3 роки тому

    Hello sir. Your tutorial is amazing. Sir I have a doubt in excel. Please tell me how to remove duplicates words in same cell in same line.
    example in cell A1 has some words
    " MAA400 MAA400 NEFT TRANSFER".
    here the words MAA400 are repeated twice . So I want remove duplicates words in same line in same cell.

  • @galiakoti
    @galiakoti 8 років тому

    Great Bro I used your method and have easily created the list of my files. thank you so much

  • @shivamkumar001
    @shivamkumar001 6 років тому

    Can you please tell if there is a way to extract other information of files like date, authors, etc in other columns

  • @OGMadMax
    @OGMadMax 4 роки тому

    Will this be dynamic?

  • @FuloZ
    @FuloZ 8 років тому

    Hi Sumit, I have multiple folders in a folder, how do we list files for all those together? Thanks in advance.

  • @emadkawekji8820
    @emadkawekji8820 8 років тому

    Brilliant!!! It is very helpful. Thank you very much.

  • @faizullahshaik308
    @faizullahshaik308 2 роки тому

    does this not work for multiple folders

  • @reflectadditive7102
    @reflectadditive7102 2 роки тому

    Thanks for Simple Video

  • @shambhalachakra4856
    @shambhalachakra4856 3 роки тому

    Such great advise and to the point! Thank you so much for sharing your expertise. This will help me so much of my time from now. Greatly appreciated :)

  • @safaboi203
    @safaboi203 7 років тому

    Thank you so much...you saved me hours and hours processing thousands and thousands of files for my thesis....THANKS!

  • @Heartman_G
    @Heartman_G 5 років тому

    Video is ok but in that folder we have date wise sub folder means how can we do it

  • @srajkunju1433
    @srajkunju1433 8 років тому

    Thanx a lot,
    I have folder containing more than 5400 files. I tried and able to retrieve only 256 files name. what will be the next option to get full list?

  • @Interrogator_chaplain_rex
    @Interrogator_chaplain_rex 9 років тому

    How would you list all these files by created date?

  • @abdanomer
    @abdanomer 7 років тому

    Great technique
    Is there a way to only find the numbers of files in the folder or excel sheets in the the folder?

  • @alexsepel6167
    @alexsepel6167 5 років тому

    Thank you very much, just what I was looking for :)

  • @noahhebert9657
    @noahhebert9657 9 років тому

    This works great, but do you have a suggestion for gathering further information about the folders? Like sorting through the metadata and having it available to be inserted into a Pivot table?? That'd be amazing!

    • @noahhebert9657
      @noahhebert9657 8 років тому

      I got it figured out. Thank you for the response.

    • @mataniwi
      @mataniwi 8 років тому

      Hi, how did you dit it? did you manage to do it with VBA? or with excel?

  • @MrSandeep1987
    @MrSandeep1987 6 років тому

    Can we see the latest file name by making some changes to the formula

  • @1lifewithsuccess
    @1lifewithsuccess 9 років тому

    sir can u plzz tell me, after making list, how we can make same file auto hyperlinks that we can click on the name in list, it will open the file. because i saw in one file but no body teach me how to do. i will be very thank full to you

    • @Oggiez65
      @Oggiez65 9 років тому +1

      Ghulam Murtaza In C1 paste this formula and copy it down.
      =IF(B1="","",HYPERLINK(LEFT($A$1,LEN($A$1)-1)&B1,B1))

    • @1lifewithsuccess
      @1lifewithsuccess 9 років тому

      perfect Love u sir Love u sooooooooooooooooooooooooo my dear you will not know that how much you help me , just please last thing that i want to know , create one index button that i click on that button and file make auto index and add new file name also with existing files those files are come new on that folder and make again auto hyper link

    • @Oggiez65
      @Oggiez65 9 років тому +1

      Ghulam Murtaza The hyperlinks should automatically update with the files

    • @1lifewithsuccess
      @1lifewithsuccess 9 років тому

      Zachary Ogborn yes sir you are right but to get refresh file name list i need to do again dabble click on cell + button and then list is getting refresh, and plus there is one bug if i add a new file and that file having name that the file go to 1st number while sorting and then list will resort and after i removing 1st file from the folder still exist on cell B1 but this file is no more exist on that folder why this name arrive and those file who are after B1 all name as per folder name exist

    • @1lifewithsuccess
      @1lifewithsuccess 9 років тому

      Ghulam Murtaza my plan is if i have more folder like 10 and according to these 10 folder i will make file containing 10 folders list in 10 different columns and then i create one indexing button, while clicking on this indexing button automatically arrive all new fresh list of all 10 folders name list with hyperlinks according to newly added file and deleted file, if you suggest me to do this job by creating one macro then i will also tray, if will succeeded to make this file i will flay with happiness in the sky and i will pray for you

  • @rocky20717
    @rocky20717 9 років тому

    Extraordinary Video.Thank you so much.

  • @devendrabain7748
    @devendrabain7748 5 років тому

    Thank you very much sir
    Each time i view your videos, i learned from them. Today i learn to make list. Its an amazing experience.
    Love Trump Excel ❤️❤️❤️❤️

  • @khurramali42
    @khurramali42 7 років тому

    WOW! great tips thank you.

  • @okcomewithme1060
    @okcomewithme1060 6 років тому

    Thank you very much.You help me a lot!

  • @SILENTSUCCESS2012
    @SILENTSUCCESS2012 8 років тому

    how to make vlookup in same no but different date. if there same no but two different dates , I want to see current date.

  • @gayatrishaw5389
    @gayatrishaw5389 Рік тому

    Thank you so much 💓

  • @Nixinnuendos
    @Nixinnuendos 9 років тому

    Is there a way you can do this with folder names?

  • @flyinlo1474
    @flyinlo1474 6 років тому +1

    At 5:18 is where you lost me. could not see how to "lock" the row and follow next steps. but then I read below on using command line and it worked nicely. but thank you for making the video. You may include some notes or something for the 5:18 mark.

    • @nikhilnick8886
      @nikhilnick8886 5 років тому

      how to lock.. i didnt understood that