+ Reply to Thread
Results 1 to 2 of 2

Totalling values from multipile files

Hybrid View

  1. #1
    Registered User
    Join Date
    10-05-2008
    Location
    Louisiana
    MS-Off Ver
    2007
    Posts
    17

    Totalling values from multipile files

    All files in a single folder named yyyy, each file named mm-dd-yy. Each file was created from the same master template, just different data from day to day. Each file has a summary sheet that contains the values that need to be totaled in another file. This new file would hopefully update (auto or manual) each time a new file is added to the yyyy folder. New file can be located in the same folder or other wise. I am pulling around ten number from each mm-dd-yy file, and we are only open for buisness on weekends, so just over a hundred mm-dd-yy files per yyyy folder.

    If from scratch I would probably have done this with a data base, however the original files were set up by another and been ran for a few years now. My task to do some market analysis on the data and any help to this function would be greatly appreciated.

    I guess I should add an actuall question. I have no problem setting up the basic file, I just have not been able to figure out how to link to all files in a folder?
    Last edited by azureriders; 10-06-2008 at 12:27 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    suppose the summary cell of each workbook is A1000
    And on your master file, A1 is a date of the weekend
    Use the following formula to get the location of the A1 of the file of a date
    
    =CONCATENATE("sglife='C:\",TEXT(A1,"yyyy"),"\[",TEXT(A1,"mm-dd-yy"),".xls]Sheet1'!$A$1000")
    You can copy the formula down, and get the location of differennt workbooks.
    Then copy and paste special value

    Then use replace to replace "sglife" with Empty
    I need your support to add reputations if my solution works.


+ 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. searching for values through multiple excel files
    By SKooT1027 in forum Excel General
    Replies: 0
    Last Post: 09-15-2008, 11:08 AM
  2. Trying to move all xls files from one folder to another
    By oakman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2008, 10:39 AM
  3. Append Cell Values To Text Files
    By Stefan.S. in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-17-2008, 11:09 AM
  4. comparing values across excel files
    By pipihoward in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-10-2008, 02:16 AM
  5. Replies: 10
    Last Post: 04-05-2007, 12:54 AM

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