Linked sheets

pzh20

New Member
Joined
Jul 26, 2011
Messages
5
I have like most people, one sheet with formula that addresses other sheets e.g. =SUMIF('Nat West'!$C$3:$C$335,"*"&TRIM('BL Blces'!B37)&"*",'Nat West'!$D$3:$D$335)+SUMIF('Credit Card'!$D$4:$D$18,"*"&TRIM('BL Blces'!B37)&"*",'Credit Card'!$E$4:$E$18)

Is there any way so the if I add an extra row say at 'Nat West'!$C$336 this sumif will get updated to reflect the new range? Some way of addressing the first and last rows of the range?

Many thanks
Pete
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
When I need to do what you are looking for, I use Dynamic Ranges.

I use OFFSET to alter the Range, using the COUNT function, eg

=Sheet1!$A$1:OFFSET(Sheet1!$A$1,COUNTIF(Sheet1!$A:$A,">0")-1,0)

This changes the range in the Refers to box, to suit number of entries in Column A.

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,188
Members
452,893
Latest member
denay

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