Incrimentally update worksheet value

Talbot

New Member
Joined
Oct 13, 2006
Messages
3
I have a main worksheet that holds the YTD data, I want it to pull it's numbers from my weekly data. The formula I'm using is ='Week 1'!$Q$5, but when I want to copy that to other cells in my YTD, I can't seem to get it to change the worksheet reference. I would like it to change "Week 1" to "Week 2", then on the next line "Week 3", etc.

Is there a way to do this?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi Talbot
Welcome to the board

You can use INDIRECT.

For example write in A2:

=INDIRECT("'Week "&ROWS($A$2:A2)&"'!$Q$5")
Copy down

Hope this helps
PGC
 

Forum statistics

Threads
1,141,916
Messages
5,709,327
Members
421,629
Latest member
RLRobinson

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