Reference another workbook with entire filepath
Results 1 to 7 of 7

Thread: Reference another workbook with entire filepath
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Jan 2019
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Reference another workbook with entire filepath

    Hi All:

    I am trying to write a formula to reference cell A1 in this workbook. I am using the entire filepath in hopes of being able to access the data without the other workbook being open.

    C:\Users\Username\Documents\Report\[Test Workbook.xlsx]Sheet1

    Any suggestions?

  2. #2
    Board Regular kweaver's Avatar
    Join Date
    May 2018
    Location
    La Jolla, CA
    Posts
    593
    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Reference another workbook with entire filepath

    Try this:

    Code:
    =INDEX('C:\Users\Username\Documents\Report\[Test Workbook.xlsx]Sheet1'!A:A,1,1)

  3. #3
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    26,735
    Post Thanks / Like
    Mentioned
    458 Post(s)
    Tagged
    45 Thread(s)

    Default Re: Reference another workbook with entire filepath

    Or
    ='C:\Users\Username\Documents\Report\[Test Workbook.xlsx]Sheet1'!A1
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  4. #4
    New Member
    Join Date
    Jan 2019
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Reference another workbook with entire filepath

    Both of these work - thank you for this.

    Follow-up: When I use these formulas, the filepath disappears, it only keeps [Test Workbook.xlsx]Sheet1'!A1 ... The problem that I am running into is that I want the filepath to persist in the formula. My ultimate goal for this is to have "Test Workbook MM-DD-YYYY.xlsx" where I can use an indirect function in another workbook to automatically pull data from a specific dated "Test Workbook"

    Any thoughts?

  5. #5
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    26,735
    Post Thanks / Like
    Mentioned
    458 Post(s)
    Tagged
    45 Thread(s)

    Default Re: Reference another workbook with entire filepath

    The full path should reappear if you close the Test Workbook.xlsx workbook.
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  6. #6
    New Member
    Join Date
    Jan 2019
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Reference another workbook with entire filepath

    It does, thanks!

  7. #7
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    26,735
    Post Thanks / Like
    Mentioned
    458 Post(s)
    Tagged
    45 Thread(s)

    Default Re: Reference another workbook with entire filepath

    You're welcome & thanks for the feedback
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •