Cell references/linking between workbooks

rickstaylor

New Member
Joined
Jul 13, 2012
Messages
4
Hi All
Here's a doozy for you.

I have 2 workbooks, one an inventory overview of kit, the other a detailed version. Obviously some info is duplicated. I've made a straight forward link (see below), but it needs improvement,

What I want to achieve:
In the detailed inventory, I type in a row reference in for an updated entry in the overview workbook, and it populates the appropriate cells in the detailed version.
At the moment the link is this:
='[overview.xls]Sheet1'!$C$3
What I want is for the row reference (underlined, above), to be entered into a cell, then it gets included in the above formula in each of the calculated cells.

Hope it makes sense, comments/suggestions/ideas welcome!

Many thanks
Richard
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I sounds like you want to use the indirect formula.

=indirect("'[overview.xls]Sheet1'!$C$"&a1)

With this, you'd enter a number in cell A1 and the indirect formula will go to that file/sheet/cell and return the value. (Double-check that it works when the other workbook is *closed*).
 
Upvote 0
Very cool way to do it with a non-volatile function!
Thanks.

It's also not a locked reference to column C (well, if you remove the $ anyway).
With indirect, the Column reference is locked, because it's just a text string.
So it won't incriment when dragged right/left

With index, it will incriment (without the $)
=INDEX('[overview.xls]Sheet1'!C:C,$A1)
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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