+ Reply to Thread
Results 1 to 3 of 3

Path formula

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Path formula

    Hi,

    See file in attach.

    1) In column A I have number between 1 and 53.
    2) In column E I have a formula =IFERROR('D:\Test\2012\[File_wk1.xlsx]Inv'!$A$1;"-")

    I want to change the formula in cell E2, so the number after "[File_wk", in this case 1, would refer to cell A2. If this is possible I could copy the formulas quickly instead of changing the value in each formula to match the value in column A.

    Regards,
    Elio Fernandes
    Attached Files Attached Files
    Last edited by efernandes67; 01-06-2013 at 05:04 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,626

    Re: Path formula

    Post a workbook not pictures.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Re: Path formula

    I just found the solution using INDIRECT function.

    =IFERROR(INDIRECT("'D:\Test\2012\[File_wk"&A2&".xlsx]Inv'!$A$1");"-")

    Elio Fernandes

+ 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