+ Reply to Thread
Results 1 to 13 of 13

Find data in over 100 excel files

  1. #1
    Registered User
    Join Date
    09-03-2007
    Location
    Lincoln, UK
    MS-Off Ver
    Microsoft Office 365 Excel version 1904 (Build 11601.20178 Click-to-Run)
    Posts
    8

    Find data in over 100 excel files

    Hi all
    I have been developing an excel spreadsheet to help me run my business (selling blinds). It will work out the prices for any type of blind when I enter the sizes. I have over 100 different jobs/files.

    What I wish to do is have a different file that will extract information e.g. customer's name and phone number and if we got the job or not.

    How can I get excel to look for this information in all these files without manually entering the file names?

    I hope that I have explained this correctly?

    Thanks in advance

    Joe

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Find data in over 100 excel files

    Hi,

    Are all the files consistently laid out? For example is the name and phone number and other stuff you want to capture always in the same cells?
    And are all the files in the same folder and do the file names have any common text.

    If so you could have a macro that looped thorugh all the files and grabbed the data.
    Longer term why are you keeping all this information in separate files rather than in a single sheet in one workbook as a proper database. It's always easier to extract information from a normalised two dimensional table rather than from data that which is scattered around.

    Incidentally would you update your profile to show your location. This is often useful when we need to consider things like regional settings and date formats.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-03-2007
    Location
    Lincoln, UK
    MS-Off Ver
    Microsoft Office 365 Excel version 1904 (Build 11601.20178 Click-to-Run)
    Posts
    8

    Re: Find data in over 100 excel files

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Are all the files consistently laid out? For example is the name and phone number and other stuff you want to capture always in the same cells?
    And are all the files in the same folder and do the file names have any common text.

    If so you could have a macro that looped thorugh all the files and grabbed the data.
    Longer term why are you keeping all this information in separate files rather than in a single sheet in one workbook as a proper database. It's always easier to extract information from a normalised two dimensional table rather than from data that which is scattered around.

    Incidentally would you update your profile to show your location. This is often useful when we need to consider things like regional settings and date formats.
    Hi there
    Many thanks for getting back to me.
    The reason why there are so many files is so that each file is a separate job. Each file is about 7mb+ (with pictures of the job if needed) we have alot of customers lol!
    I have never even tried macro. Are they easy to understand?
    I have updated my location ;-)
    Many thanks
    Joe

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,924

    Re: Find data in over 100 excel files

    Please address these questions that Richard raised

    Please Login or Register  to view this content.
    This is extremely important for us to know how to structure a solution for you. While Richard may offer up a Macro solution, I am thinking in terms of Power Query. Of course, this all depends on how you address the above issues.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Find data in over 100 excel files

    Alan,

    before you get into that, it would be handy if the OP (Joe) updated his profile further to show the version of Excel that he is using, as it might turn out that his version doesn't support Power Query.

    Pete

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,924

    Re: Find data in over 100 excel files

    Pete
    Concur, but in any event it would be helpful no matter which way we go to have that information.

    Regards

  7. #7
    Registered User
    Join Date
    09-03-2007
    Location
    Lincoln, UK
    MS-Off Ver
    Microsoft Office 365 Excel version 1904 (Build 11601.20178 Click-to-Run)
    Posts
    8
    Quote Originally Posted by alansidman View Post
    Please address these questions that Richard raised

    Please Login or Register  to view this content.
    This is extremely important for us to know how to structure a solution for you. While Richard may offer up a Macro solution, I am thinking in terms of Power Query. Of course, this all depends on how you address the above issues.
    Hi there
    Yes they are all in the same cells in every single one
    Many thanks Joe

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Find data in over 100 excel files

    Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile says 2003, but your file indicates at least 2007

    Also

    do not quote entire posts unnecessarily. They clutter the thread and make it hard to read.
    Thanks

  9. #9
    Registered User
    Join Date
    09-03-2007
    Location
    Lincoln, UK
    MS-Off Ver
    Microsoft Office 365 Excel version 1904 (Build 11601.20178 Click-to-Run)
    Posts
    8

    Re: Find data in over 100 excel files

    Quote Originally Posted by alansidman View Post
    Please address these questions that Richard raised

    Please Login or Register  to view this content.
    This is extremely important for us to know how to structure a solution for you. While Richard may offer up a Macro solution, I am thinking in terms of Power Query. Of course, this all depends on how you address the above issues.
    Hi there
    I'm very sorry but I did over look this. Consider my hand slapped!
    All done now
    Many thanks
    Joe

  10. #10
    Registered User
    Join Date
    09-03-2007
    Location
    Lincoln, UK
    MS-Off Ver
    Microsoft Office 365 Excel version 1904 (Build 11601.20178 Click-to-Run)
    Posts
    8

    Re: Find data in over 100 excel files

    Hi there

    Point taken thanks

    Joe

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Find data in over 100 excel files

    ....
    "And are all the files in the same folder and do the file names have any common text."

  12. #12
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,924

    Re: Find data in over 100 excel files

    If your files are all in the same folder and are arranged (formatted) the same then Power Query may be your solution. Look at this link for how to combine multiple files.

    https://trumpexcel.com/combine-data-...ple-workbooks/

  13. #13
    Registered User
    Join Date
    09-03-2007
    Location
    Lincoln, UK
    MS-Off Ver
    Microsoft Office 365 Excel version 1904 (Build 11601.20178 Click-to-Run)
    Posts
    8

    Re: Find data in over 100 excel files

    Hi there

    Awesome.I will be having a play with this tonight and I shall let you know how I got on.

    Many many thanks buddy

    Cheers
    Joe

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Find data from multiple excel files
    By MYEM1983 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-16-2015, 10:26 AM
  2. excel macro to find and replace particular words in all excel files in a folder
    By genetist in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2014, 08:59 PM
  3. Replies: 1
    Last Post: 11-19-2013, 05:51 AM
  4. Replies: 0
    Last Post: 01-11-2013, 12:05 AM
  5. Replies: 0
    Last Post: 11-27-2012, 01:43 PM
  6. Replies: 4
    Last Post: 08-27-2012, 11:08 PM
  7. Replies: 1
    Last Post: 02-09-2009, 04:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1