copying worksheets with cell references

Keith McAlhaney

New Member
Joined
Oct 26, 2002
Messages
4
I have 3 worksheets (A,B, and C). "A" is the middle of the month and "B" is the end of
the month. "C" is a summary of "A" and "B" by "A's" cell plus "B's" cell.

Each month I copy the 3 worksheets and change the tab name to the new month.

Is the an easy way to change the cell references in the new month to the new month?

I am not sure I am saying my problem clearly, but thanks for the help.
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
yep - somewhere on your C sheet you need to enter the name of the tabs...A1 & B1 on SheetC = say Oct1 & Oct2

use INDIRECT

=INDIRECT(A1&"!A10")+INDIRECT(B1&"!A10")

which Excel reads as

=Oct1!A10+Oct2!A10

The other way of course would to be simply name the file as the month and leave the sheets as Sheet1 & Sheet2 (say with headings on the sheets themselves) - then the formulas would never change - ie. Sheet1!A10+Sheet2!A10
 

Watch MrExcel Video

Forum statistics

Threads
1,122,842
Messages
5,598,396
Members
414,235
Latest member
sucosama

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