use INDIRECT function in reference to other sheet

huli601

New Member
Joined
Oct 25, 2015
Messages
7
Hi,


Last few years I spend a lot of time in one excel file where are 62 sheets (1D, 1N, 2D, 2N, 3D, ... represent shifts in month (day/night)). One every sheet are use complicate references to other workbook. For simple example: on sheet 1D is use following reference: ='\\192.168.0.23\2018\[april.xlsx]1D'!$A$1 (in real it´s much complicated). I can not use function indirect in this reference, so when I want to make some changes I always have to change it manualy on every 62 sheets.
I try to find solution where I can use function INDIRECT and "get sheet name" (I alreary have this function) for this reference. ='\\192.168.0.23\2018\[april.xlsx]1D'!$A$1


thank you for answers
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
INDIRECT will only work with an open workbook.
 
Upvote 0
I'd suggest either Find/Replace or the Edit Links dialog are better alternatives.
 
Upvote 0

Forum statistics

Threads
1,224,895
Messages
6,181,619
Members
453,057
Latest member
LE102024

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