+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    03-13-2010
    Location
    Swansea, Wales
    MS-Off Ver
    Excel 2003
    Posts
    4

    Using a central filepath for getting data from other work books

    I am creating a log sheet for work. Each employee will have their own seperate log sheet for each day. And for each day there will be a central log sheet which will contains sums of data from all of the employees log sheets.

    What I want to do if possible is have a cell on a sheet in the central log sheet containing a file path which would then be used for obtaining data from the other sheets. The reason I want to this is that when i create copies of the log sheets for the next days/months etc rather than change the filepath in every formula I can just change the filepath in this cell.

    From what I can gather this isn't possible but though theres a slight chance I may be wrong.

  2. #2
    "Eagle Eyed" Forum Moderator oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Work) and 2007 (Home)
    Posts
    7,130

    Re: Using a central filepath for getting data from other work books

    oldchippy
    -------------


    If you are happy with the help you have received, please click the blue scales icon in the blue bar of the post.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    03-13-2010
    Location
    Swansea, Wales
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Using a central filepath for getting data from other work books

    This is what I was looking for but I think using the INDIRECT function would be too much hassle. There would be links to like 30 other workbooks in the central log and I wouldn't want to have to open all 30 of them just to update it.

    What im using now is the follwing to link:

    ='C:\Users\Matt\Desktop\Log Sheets\2010\April\01\[Matthew.xls]Stats'!$D$3
    The part I need to change is the year, month and day.

  4. #4
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: Using a central filepath for getting data from other work books

    If you link to 30 other workbooks, you won't need to open and change these workbooks. You just need to create the text strings that represent the location of these workbooks and then wrap each text string in an INDIRECT formula in your central workbook.

    It might be worth noting that INDIRECT does not work with closed workbooks, though. You'd need to have these workbooks open for the formula to work.

    Alternatively, you can use the INDIRECT.EXT function, which does work on closed workbooks. It is available in the morefunc.xll, which can be downloaded from here: http://download.cnet.com/Morefunc/30...-10423159.html
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

Thread Information

Users Browsing this Thread

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

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.2.0