+ Reply to Thread
Results 1 to 3 of 3

formula linking information from another spreadsheet with another imbeded

  1. #1
    Registered User
    Join Date
    08-14-2008
    Location
    UK
    Posts
    1

    formula linking information from another spreadsheet with another imbeded

    Hi there i am having problems finding a fomula for my spreadsheet. i use it to keep track of ivoices i make. each invoice i make is saved as a seperate file.

    ive then got another spreadsheet (shown below) to to extract the date, name, and amount from the original invoices.

    but

    i have to enter the code manually 3 times for each invoice chanceing the name of the file (which is 182.xls on the one below)

    but instead of changing the formula name ech time could i use the infomation from colom 'b' as the ref no is also the file name

    i thought that this might work but it didnt...
    Before
    ='C:\Documents and Settings\Tom\Desktop\printing invoices\Jobs\[182.xls]Invoice'!$D$45
    After
    ='C:\Documents and Settings\Tom\Desktop\printing invoices\Jobs\[B5]Invoice'!$D$45

    please help

    click here for a screen shot
    \1
    Last edited by j_thain; 08-14-2008 at 11:10 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Hello and welcome to our board...

    Can you please take the time to read our forum rules and then amend your title to be more descriptive of your question.

    Thanks.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You have to use the INDIRECT() function, like so:

    =INDIRECT("'C:\Documents and Settings\Tom\Desktop\printing invoices\Jobs\["&B5&".xls]Invoice'!$D$45")

    but this will only work with if the workbook being referenced is open too.

    If you want to work with closed workbooks, you could install the Morefunc.xll addin for free from here: http://xcell05.free.fr/morefunc/english/

    and then employ the Indirect.EXT function like so:

    =INDIRECT.EXT("'C:\Documents and Settings\Tom\Desktop\printing invoices\Jobs\["&B2&".xls]Invoice'!$D$45")

    P.s... thanks for changing your title.

+ Reply to Thread

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.6.0 RC 1