Help with Indirect

bark01

Board Regular
Joined
Sep 6, 2006
Messages
135
Office Version
  1. 365
Platform
  1. Windows
I want to link to the same cell reference in a bunch of spreadsheets that are in month year folders.

I've created a formula that gives the text string I need in separate cell

In cell A1 i have a formula that generates the full text string i.e.
'\\customer\Invoices\Part Payment invoice level\2019\4\[Invoicing April 2019.xlsx]Sheet1'!$G$36

If in another cell if I type =then copy and paste the above text into it it and press return it brings back the right value so the logic i'm using to generate the text string seems good. As the text is variable dependant on row i want to link to it rather than copy and paste but every time i do i get a Ref error.

I thought I would just do =Indirect(A1). but that does refs ot and evaluating doesn't give me a hint as to whats wrong
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Are the other files open?

Indirect will always show #REF if the source workbook is closed.
 
Upvote 0
Well that was the issue, but the whole point of this was so i didn't have top open up all the sheets as there nearly 100 of them and most of them have passwords.

Is there another way to do this?

My current method is to take the text strings copy them into text pad do a find and replace to add an = to the start and then copy them back into excel. Not the most elegant solution!
 
Upvote 0
Maybe copy and paste special > values (ctrl alt v, v) then find and replace (ctrl h) to change '// to ='//
 
Upvote 0

Forum statistics

Threads
1,215,772
Messages
6,126,801
Members
449,337
Latest member
BBV123

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