Copying Reference to previous sheets

MarcB

New Member
Joined
Apr 28, 2011
Messages
30
If I have a reference to a cell or range in the preceding sheet I am in at the moment, is there a way that if I copy that sheet with that reference to a new sheet following, that the reference will update to now refer to the preceding sheet. As an example, if I have a formula in SheetB refering to a cell in SheetA, and I copy the sheet SheetB and place it after, say sheetC, is it possible to have a cell reference that updates to now refer to that same cell or range but updated to include what is now the sheet before. Similar in concept to how a relative reference updates automatically within a sheet, but instead updating across sheets i.e. continuing to still reference the preceding sheet.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
If I have a reference to a cell or range in the preceding sheet I am in at the moment, is there a way that if I copy that sheet with that reference to a new sheet following, that the reference will update to now refer to the preceding sheet. As an example, if I have a formula in SheetB refering to a cell in SheetA, and I copy the sheet SheetB and place it after, say sheetC, is it possible to have a cell reference that updates to now refer to that same cell or range but updated to include what is now the sheet before. Similar in concept to how a relative reference updates automatically within a sheet, but instead updating across sheets i.e. continuing to still reference the preceding sheet.
Try this:
=INDIRECT("'"&INDEX(AllSh,,MATCH(CurSh,AllSh,0)-1)&"'!A1")
will alway link to cell A1 of prv.sheet.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,634
Members
452,934
Latest member
Jdsonne31

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