Converting Text String into a Formula using INDIRECT

Jtm_Preston

New Member
Joined
Nov 10, 2015
Messages
23
Hello. I am trying to point a cell towards another cell in a different file, but make this dynamic using CONCATANATE to build up the file path & then INDIRECT to complete the task.

The formula I have is . . .

="=('"&N3&"/["&O3&"]Dashboard'!"&P1&M3&")"

This formulas produces the below text string in cell N6. I then use the formula =INDIRECT(N6) with the hope that it populated the value, as per the below text string, however I'm only getting the error #REF!

=('https://abc5.database.net/sites/24ABC01/bus_man/Finance/[2024 Finance Tracker (Team One).xlsx]Dashboard'!B6)
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
It is probably better to use Data, Get Data, From File, From Folder to get information from multiple workbooks
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top