Possible for Formula to Referencing Future Worksheet?

hop17

New Member
Joined
Aug 19, 2009
Messages
12
Does anyone know if it's possible to reference a worksheet that has not yet been created, avoiding the #REF! result?

The formula I have is correct, however the macro generates new worksheets throughout the month in which the totals sheet is referencing. The problem being that the totals sheet is referencing worksheets not yet created.

Hoping someone knows a work-around....thanks!
 
Thanks again for the help!

The only relevant part of the macro is:

Sheets("CR Journal").Copy After:=Sheets(Worksheets.Count)
Cells.Copy
Cells.PasteSpecial xlPasteValues

ActiveSheet.Name = Range("B1").Value


My goal is pretty straight foward. I have a list of cashiers from column B6:B30, and a list of their drop variances in column K6:K30. The variances are tracked for each day of the month in order to obtain a cumulative total. The order of the cashiers is always changing, so that's why I use a VLOOKUP by cashier ID and then pull the variance from column K to track. Everything works find, it's just that since this is a running total, the formula won't work since the worksheet does not yet exist for the future dates.
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Are attachments allowed on here?

The specifics of the totals sheet are a list of names from A6:A60. And day one of their respective variances in column C going 31 columns over, for each day of the month. So each cell is matching the row name with the column date to get the specific variance for each individual day of the month.
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,539
Members
449,316
Latest member
sravya

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