Reference another workbook with entire filepath

Jak7217

New Member
Joined
Jan 11, 2019
Messages
13
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?
 

Some videos you may like

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

kweaver

Well-known Member
Joined
May 8, 2018
Messages
1,074
Office Version
365, 2010
Try this:

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

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
42,721
Office Version
365
Platform
Windows
Or
='C:\Users\Username\Documents\Report\[Test Workbook.xlsx]Sheet1'!A1
 

Jak7217

New Member
Joined
Jan 11, 2019
Messages
13
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?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
42,721
Office Version
365
Platform
Windows
The full path should reappear if you close the Test Workbook.xlsx workbook.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
42,721
Office Version
365
Platform
Windows
You're welcome & thanks for the feedback
 

Watch MrExcel Video

Forum statistics

Threads
1,102,449
Messages
5,486,966
Members
407,575
Latest member
calc

This Week's Hot Topics

Top