Reference Worksheet in Formula

Kaloyanides

New Member
Joined
Jul 1, 2015
Messages
4
Good Morning!

Hopefully someone can help with this one...

I have a workbook that has many worksheets. One worksheet for each week.

I need a formula that will take the current week (in this case 9) and then subtract 1 to get the previous week's worksheet name and then reference a cell in the previous week.

This is the current formula that I had to do manually: =H107/'8'!H107-1

Every week I have to manually change the formula, change the week number. I'd love to be able to do automatically.

How do I reference a worksheet in a formula? Say the current week is 9. How do I write a formula to reference week 8 (worksheet name 8) in a formula?

This seems like it should be a simple thing to do but I can't seem to figure it out... Thx so much!

1709993561599.png
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Maybe something like
Excel Formula:
=H107/INDIRECT("'" & WEEKNUM(TODAY(),1)-2&"'!H107")-1
 
Upvote 1
Solution
Good Morning!

Hopefully someone can help with this one...

I have a workbook that has many worksheets. One worksheet for each week.

I need a formula that will take the current week (in this case 9) and then subtract 1 to get the previous week's worksheet name and then reference a cell in the previous week.

This is the current formula that I had to do manually: =H107/'8'!H107-1

Every week I have to manually change the formula, change the week number. I'd love to be able to do automatically.

How do I reference a worksheet in a formula? Say the current week is 9. How do I write a formula to reference week 8 (worksheet name 8) in a formula?

This seems like it should be a simple thing to do but I can't seem to figure it out... Thx so much!

View attachment 108124
This worked: =INDIRECT("'" & A307&"'!I94")

Thanks so much!!! Really appreciate your help.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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