+ Reply to Thread
Results 1 to 3 of 3

Referencing a cell from an external file using a cell reference...

  1. #1
    Registered User
    Join Date
    07-31-2020
    Location
    San Antonio, TX
    MS-Off Ver
    Office 365
    Posts
    2

    Referencing a cell from an external file using a cell reference...

    Hi folks,

    My primary spreadsheet cell B13 references a cell in a separate file in this manner:
    ='C:\Rick\__Transportation\Bill\Budget_Billing\2020-2021\[34_23-903-6121_Overtime__2020-2021.xlsx]Summary'!$E$2 - this works as expected.

    What I would like to be able to do is substitute the contents of cell A13 which contains: "34_23-903-6121_Overtime__2020-2021" concatenated with &”.xlxs“ in place of
    the 34_23-903-6121_Overtime__2020-2021.xlsx contained inside square brackets in the formula shown above.

    I have not been successful and there are 400+ more occurrences where I need to do a similar action.

    Any and all recommendations welcomed.

    Much appreciated & till later,
    Rick S.
    San Antonio, TX

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Referencing a cell from an external file using a cell reference...

    Welcome to the forum.

    Try this:

    =INDIRECT("'C:\Rick\__Transportation\Bill\Budget_Billing\2020-2021\["&A13&".xlsx]Summary'!$E$2")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-31-2020
    Location
    San Antonio, TX
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Referencing a cell from an external file using a cell reference...

    Hi Ali,

    Thank you for such a fast response !!

    With regret, it did not work; I get a #REF! error - had this error message many times when I tried other formula related tricks. I did a cut/paste from your reply to ensure no typos... but to no avail.

    Hope all is well & till later,
    Rick S.

+ 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. Reference External Cell Using Text with File Location
    By JonnFive in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-03-2016, 08:48 PM
  2. How to automate cell referencing from external file
    By Sarath Karanam in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-09-2016, 09:57 AM
  3. External cell reference based on hyperlink in a cell in the active sheet
    By Sydstar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-29-2014, 08:25 AM
  4. Replies: 4
    Last Post: 10-29-2014, 05:10 AM
  5. Replies: 1
    Last Post: 10-30-2010, 08:06 AM
  6. External Cell Referencing in VBA?
    By mattsvai in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2008, 01:23 PM
  7. Referencing External Cell VALUE
    By BuyerRyan in forum Excel General
    Replies: 2
    Last Post: 03-12-2008, 09:32 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