adkinsrb69
New Member
- Joined
- Apr 1, 2025
- Messages
- 6
- Office Version
- 365
- Platform
- Windows
While I am baffled beyond belief and I am sure it is a simple error. However, I am attempting to reference a specific field in another excel file (different folder).
I am using a dynamic folder structure using variables.
So lets say I want to pull the value from cell E13 on the MAIN worksheet in a file but not hard coding the filename.
Example: (This will work if NOT using variables)
='https://my.sharepoint.com/personal/ApplesJacks/Documents/Budget Duties/{CLIENT ID} - {Client Name} - {Project}/[Budget - {Project}_Master.xlsx]Main'!$E$13
However, my attempt to use variables like this using the INDIRECT function and each {} actually references a specific cell:
=INDIRECT(CONCATENATE("'https://my.sharepoint.com/personal/ApplesJacks/Documents/Budget Duties/",{CLIENT ID}," - ",{Client Name}," - ",{Project},"/[Budget - ",{Project},"_Master.xlsx]Main'!$E$13")
Example2:
=INDIRECT(CONCATENATE("'https://my.sharepoint.com/personal/ApplesJacks/Documents/Budget Duties/",A1," - ",B1," - ",C1,"/[Budget - ",C1,"_Master.xlsx]Main'!$E$13")
Where everything in { } are variable.
I am about to pull my hair out as I can do it IF the files are both opened at the same time but that is not my goal.
HELP!!
I am using a dynamic folder structure using variables.
So lets say I want to pull the value from cell E13 on the MAIN worksheet in a file but not hard coding the filename.
Example: (This will work if NOT using variables)
='https://my.sharepoint.com/personal/ApplesJacks/Documents/Budget Duties/{CLIENT ID} - {Client Name} - {Project}/[Budget - {Project}_Master.xlsx]Main'!$E$13
However, my attempt to use variables like this using the INDIRECT function and each {} actually references a specific cell:
=INDIRECT(CONCATENATE("'https://my.sharepoint.com/personal/ApplesJacks/Documents/Budget Duties/",{CLIENT ID}," - ",{Client Name}," - ",{Project},"/[Budget - ",{Project},"_Master.xlsx]Main'!$E$13")
Example2:
=INDIRECT(CONCATENATE("'https://my.sharepoint.com/personal/ApplesJacks/Documents/Budget Duties/",A1," - ",B1," - ",C1,"/[Budget - ",C1,"_Master.xlsx]Main'!$E$13")
Where everything in { } are variable.
I am about to pull my hair out as I can do it IF the files are both opened at the same time but that is not my goal.
HELP!!