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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,215,061
Messages
6,122,921
Members
449,094
Latest member
teemeren

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