How to get relative worksheet references when copying links in Excel?

ndel40

New Member
Joined
Jan 17, 2015
Messages
15
Workbook2 tabs for each day (i.e. 1, 2, 3, 4…) has the same format/layout and links to specific cells in Workbook1 using relative references so if I insert a column or row in Workbook1 the data in Workbook2 doesn’t lose its refence.

Here’s my challenge.

I create the links in Workbook2 on the first day tab (i.e. 1) that are linked to the first day tab (i.e. 1) in Workbook1 and it works. Now I copy all of the data from Workbook2 1 tab to 2 tab, 3 tab, etc. and this works fine, but the tab 2, tab 3, tab 4, etc. all reference the data in Workbook1 tab 1. I then have to manually use find/replace on each tab in Workbook2 to reference the correct tab in Workbook1. Very time consuming.

How can create the link to automatically change to reference the corresponding tab in Workbook2 when I copy the data from one tab to another?

I’ll stay tuned… thanks

Nick
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Looks like I didn't post my complete question...

I have two workbooks and I’m linking some of the data from Workbook1 to Workbook2. Both workbooks have tabs for each day of the month (i.e. 1, 2, 3, 4…). Workbook1 is the user input sheet and Workbook2 is the data repository sheet for the input data from Workbook1.

Workbook2 tabs for each day (i.e. 1, 2, 3, 4…) has the same format/layout and links to specific cells in Workbook1 using relative references so if I insert a column or row in Workbook1 the data in Workbook2 doesn’t lose its refence.

Here’s my challenge.

I create the links in Workbook2 on the first day tab (i.e. 1) that are linked to the first day tab (i.e. 1) in Workbook1 and it works. Now I copy all of the data from Workbook2 1 tab to 2 tab, 3 tab, etc. and this works fine, but the tab 2, tab 3, tab 4, etc. all reference the data in Workbook1 tab 1. I then have to manually use find/replace on each tab in Workbook2 to reference the correct tab in Workbook1. Very time consuming.

How can create the link to automatically change to reference the corresponding tab in Workbook2 when I copy the data from one tab to another?

I’ll stay tuned… thanks

Nick
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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