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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

mfexcel

Well-known Member
Joined
Jan 8, 2009
Messages
791
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,190,743
Messages
5,982,699
Members
439,790
Latest member
jonaust

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
Top