Linkage

SGH

Board Regular
Joined
Dec 11, 2003
Messages
72
OK here goes...

Spreadsheet 'A' is a summary of & is linked to Spreadsheet 'B'.
A' has columns labelled 561,562 etc which correspond to tabs in 'B'.
In 'A' when I copy formula across I have to use the Replace function to make sure its linking to the right tab in 'B'
Is there an easy way of incorporating my column labels in 'A' into the formula, which would mean I wouldn't have to use the Replace function ?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

SGH

Board Regular
Joined
Dec 11, 2003
Messages
72
This is the formula in spreadsheet 'A'

='[A_OHSUM.AS.DEPTS.xls]557'!$C$221

I want to replace the 557 bit with the column number on the spreadsheet I'm in
 
Upvote 0

SGH

Board Regular
Joined
Dec 11, 2003
Messages
72
Yup that works,

Thanks guys
 
Upvote 0

SGH

Board Regular
Joined
Dec 11, 2003
Messages
72
Being picky now !

Is there a way of this working with A_OHSUM.AS.DEPTS.xls closed ?

Thanks
 
Upvote 0

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
use indirect.ext() instead - you'll need the morefunc addin though.
 
Upvote 0

Forum statistics

Threads
1,186,921
Messages
5,960,575
Members
438,486
Latest member
ncc84330

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
Top