Results 1 to 14 of 14

Help with formula to pick up a file path to a workbook from a cell in the same worksheet

Threaded View

  1. #1
    Registered User
    Join Date
    01-12-2015
    Location
    England
    MS-Off Ver
    2007
    Posts
    6

    Help with formula to pick up a file path to a workbook from a cell in the same worksheet

    Hi everyone,

    I have a bit of a problem. I am trying to make a series of workbooks which contain different stages of a fairly complicated report. There are over 60 reports in total so having multiple workbooks is the only way to separate it to a level that can be usable by anyone.

    What I am trying to do is get my Index function to work across workbooks. I can link the workbooks manually but this is time consuming and is prone to mistakes and more problems.

    This is my Formula atm with some test names and such put in just for examples:

    {=INDEX('C:\Users\Ian Stubbs\Documents\Jason Work Experience\[1392_39_JS02216S1R.xlsx]Sheet1'!$C$1:$C$2500,MATCH(1,($A6='C:\Users\Ian Stubbs\Documents\Jason Work Experience\[1392_39_JS02216S1R.xlsx]Sheet1'!$B$1:$B$2500)*($E6='C:\Users\Ian Stubbs\Documents\Jason Work Experience\[1392_39_JS02216S1R.xlsx]Sheet1'!$E$1:$E$2500),0))}

    The formula works absolutely fine but has to be manually linked for each new report as they all have different numbers for the file name. I am wondering if it is at all possible to replace the filepath links in this formula with a cell in the same worksheet. And then within that cell it contains the filepath to the required file. However every time I have attempted to do this it simply won't load the filepath properly and returns an error.

    Can anyone help at all?
    Last edited by Laura_93; 01-12-2015 at 12:49 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Save a Workbook With A file path and name referenced cell
    By John Vieren in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-19-2013, 06:39 AM
  2. [SOLVED] Copy worksheet from outside workbook using path located in cell
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-16-2013, 12:04 PM
  3. Replies: 5
    Last Post: 03-21-2013, 07:34 AM
  4. Using a cell reference as a file path to a workbook
    By SandyUK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2012, 02:45 PM
  5. dialog box to pick path & file
    By dlh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2005, 12:05 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