External Link with Cell Reference

alphabo1201

New Member
Joined
May 2, 2019
Messages
16
I have this link that refers to a different workbook.

='N:\Accounting\[Test Mar-2019 MGMT Report.xlsm]Fiscal Year IS'!E32

I want the cell reference to change based on a certain cell or formula

Example would be Cell C2 = March
I know below is incorrect but I want to input that logic.
='N:\Accounting\[Test Mar-2019 MGMT Report.xlsm]Fiscal Year IS'! [=if(C2<6,E21,E32)]



I know I can put the if statement in the front of the whole equation like below but I want to be able to add into the link it self.
=if(C2<6,'N:\Accounting\[Test Mar-2019 MGMT Report.xlsm]Fiscal Year IS'!E21,E32),'N:\Accounting\[Test Mar-2019 MGMT Report.xlsm]Fiscal Year IS'!E32)


Thank you
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Like this?

="'N:\Accounting\[Test Mar-2019 MGMT Report.xlsm]Fiscal Year IS'!"&IF(C2<6,E21,E32)
 
Upvote 0
Thank you for your reply.

Yes that's what I am looking for but wouldn't this just have the formula as text and does not show as live value?
 
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,658
Latest member
GStorm

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