Duplicating a worksheet but having the formula reference change..

igrajeda

New Member
Joined
Sep 7, 2014
Messages
1
For instance,

I have a worksheet tab labeled "Draw01" & "Draw02". I have information from Draw01 put into Draw02 with a formula.
Example: In the Draw02 worksheet I have a cell referencing information from two cells in Draw01

=sum(Draw01!D3+Draw01!D4)

When I create a new tab I will label it Draw03 and I would like to duplicate the whole worksheet and have the formula on the new tab "Draw03" to show:

=sum(Draw02!D3+Draw02!D4)


When I duplicate the tab Draw02 it does not change the formula to get the information from Draw02. It keeps everything referencing Draw01. Do I have to create a code in VBA to do this or is there another way?

Thanks!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try using Find and Replace:

In your copied sheet,
Find: Draw01!
Replace: Draw02!




For instance,

I have a worksheet tab labeled "Draw01" & "Draw02". I have information from Draw01 put into Draw02 with a formula.
Example: In the Draw02 worksheet I have a cell referencing information from two cells in Draw01

=sum(Draw01!D3+Draw01!D4)

When I create a new tab I will label it Draw03 and I would like to duplicate the whole worksheet and have the formula on the new tab "Draw03" to show:

=sum(Draw02!D3+Draw02!D4)


When I duplicate the tab Draw02 it does not change the formula to get the information from Draw02. It keeps everything referencing Draw01. Do I have to create a code in VBA to do this or is there another way?

Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,614
Messages
6,125,848
Members
449,266
Latest member
davinroach

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