Reference cells to cells in other spreadsheets, even when sorting

wayneeustace

New Member
Joined
May 16, 2015
Messages
22
Hi

I have the need to reference cells in 3 different spreadsheets but they change every time I sort the data.

It's a little complex to explain - is it possible to upload samples ?

Thank you in advance :)

Wayne
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Thanks - I'll try using Tables and see how we go:

Book 1
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Larry[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]=(B1/C1)[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]Moe[/TD]
[TD="align: center"]16[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]=(B2/C2)[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]Curly[/TD]
[TD="align: center"]15[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]=(B3/C3)[/TD]
[/TR]
</tbody>[/TABLE]

Book 2
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Larry[/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]=(B1/C1)[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]Moe[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]=(B2/C2)[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]Curly[/TD]
[TD="align: center"]14[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]=(B3/C3)[/TD]
[/TR]
</tbody>[/TABLE]

Book 3
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Larry[/TD]
[TD="align: center"]=average(C1:D1)[/TD]
[TD="align: center"]=[Book1.xlsx]Sheet1$D$1[/TD]
[TD="align: center"]
=[Book2.xlsx]Sheet1$D$1
<strike></strike>[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]Moe[/TD]
[TD="align: center"]=average(C2:D2)[/TD]
[TD="align: center"]
=[Book1.xlsx]Sheet1$D$2
[/TD]
[TD="align: center"]<strike></strike>
=[Book2.xlsx]Sheet1$D$2
[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]Curly[/TD]
[TD="align: center"]=average(C3:D3)[/TD]
[TD="align: center"]
=[Book1.xlsx]Sheet1$D$3
[/TD]
[TD]<strike></strike>
=[Book2.xlsx]Sheet1$D$3
[/TD]
[/TR]
</tbody>[/TABLE]

Thanks if you've got this far :) The trouble I have is that in Books 1 and 2, the values in columns B and C will change, thus making column D change. When I re-sort those lists in Books 1 and 2, the references in Book 3 no longer refer to the same cells, which therefore makes my Book 3 data inaccurate.

Any assistance would be greatly appreciated.
 
Last edited:
Upvote 0
If column A data is unique can't you just do an INDEX(...MATCH(...)) for in Book 3 for columns C and D ?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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