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

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 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 8 років тому

      +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

  • @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.

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

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

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

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

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

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

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

    Wonderful video I loved it

  • @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.

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

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

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

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

  • @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.

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

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

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

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

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

    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

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

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

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

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

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

    Thank you a lot. This will reduce my workload.

  • @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.

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

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

  • @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?

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

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

  • @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!

  • @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.

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

    Nice Information and really useful.

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

    This was super helpful, thank you!

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

    Thanks for the technique, its saved my time

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

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

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

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

  • @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?

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

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

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

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

  • @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?

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

    Another way, select all files in folder (Cntr+A) and hold shift+alt+right click and copy as path and select excel sheet and then paste. Thats all, all files name will bring to sheet

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

    Clear and precise. Thanks.

  • @alexsemenchuk
    @alexsemenchuk 10 місяців тому

    Dude, this is awesome!!

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

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

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

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

  • @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

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

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

  • @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.

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

    Thanks for Simple Video

  • @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.

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

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

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

    You are amazing, man! Thanks!

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

    This really helpful!! Thank you so much!!

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

    your video are very helpful and thank to you.

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

    Very good tutorial. Thank you very much

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

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

  • @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.

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

    Very nicely explained, and useful. Thank you.

  • @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.?

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

    this is a top video, can you do it with google sheets?

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

    Thank you brother
    Good tutorial
    Thank you again.

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

    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?

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

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

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

    Fantastic video my friend, a great help

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

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

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

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

  • @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.

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

    I wanted to just congratulate you for the really good explanatory clip! Thakns! I just have one question: all the above work perfectly, if you want to create a list of files, but what if you want to create a list of folderrs within a folder? How can it be done?

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

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

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

    Hi, please make a video on how to search for specific folder in parent folder and again search for another sub folder in the previous sub folder through vba

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

    Please also guide to get file name list with specific file format

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

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

  • @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

  • @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

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

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

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

    You are a life saver good sir. Thanks

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

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

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

    Really helpful

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

    Hey man, great video it will help me a lot in my work,
    Quick note, you can get the folder path by right click on it and choose properties, and it will show you the folder path
    Thanks you for your video 🙏🏻

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

    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?

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

    Thank you so much 💓

  • @moseswahome5213
    @moseswahome5213 8 місяців тому

    Thank you for this

    • @trumpexcel
      @trumpexcel  8 місяців тому

      Glad you found the video helpful 🙂

  • @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 ❤️❤️❤️❤️

  • @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.

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

    Hi dear, this is kulwant;
    after you have copied the entire data to excel
    just click on column A1 and copy the starting string till last backslash "\"
    press command H
    paste the string in "find what"
    leave the "Replace with"
    now Hit:
    find next
    Replace
    if happy then
    find next
    Replace all
    'WOW' no delimitations and hight gimmicks
    .................... Kulwant uncle
    any problem write back

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

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

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

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

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

    WOW! great tips thank you.

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

    Great really it helps. 👍

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

    Thank you very much.You help me a lot!

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

    thank youuuuuuuuuuuuuuuuu very much

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

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

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

    Extraordinary Video.Thank you so much.

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

    Wow
    Thank u so much

  • @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 :)

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

    Thank you so much for your great video

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

    Thanks man.

  • @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?

  • @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!!

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

    Many Thanks! :)
    is there a way to do this also for folders within folders? I mean .. If I have a folder A with different files in it and also sub-folders within folder A .. is it possible to get something looking like a site-map with all levels? :) TIA!

  • @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.

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

    Just great, very simple and easy to manage without programming!!! :-)

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

    Great video. I have subscribed.

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

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

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

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

  • @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

  • @playchompoo
    @playchompoo 2 роки тому +1

    Big thanks, just one for question if we have subfolder? please advise

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

    thx for your great video