Lookup from an index that contains dynamic pages

MrDeadMan

New Member
Joined
Aug 12, 2015
Messages
9
I'm going to do my best to explain this issue. I have been searching for days for an appropriate answer. So, here goes.

I have a workbook that is used for productivity tracking. There is a master worksheet (Master), and separate worksheets for each day of the year (mm-dd-yy). The productivity numbers are manually entered into the Master sheet. After the end of the business day, the entire tab is copied and pasted to a daily sheet named accordingly. At this point, the Master sheet is then cleared of its data.

My issue is that I have a separate workbook for the head of the department that needs to dynamically link a few cells from the daily tabs. This VP workbook operates the same way. A master tab that is used as a current day's tab, and copied and pasted into a daily tab at the end of the business day.

Since future tabs are created at the end of the business day, I had to create an index worksheet to dynamically list new worksheets as they are created (VBA index).

My question is:
Is there a way to lookup the cells that I need referenced and have the results placed into the corresponding date row's cells without having to manually enter the formula each day? I need to know if it is possible to have the results from cell B2 in the daily sheet show in cell B3 of the Index worksheet, Daily C2 should go to Index C3, and so on. Keep in mind that the Index tab will be updated dynamically whenever a new sheet is added (Daily). So basically, I want the Index tab information to populate when the Master sheet is pasted to the Daily sheet. I hope this all makes sense.


Index worksheet:

[TABLE="class: grid, width: 300, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Index[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Master[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]08/12/15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]08/11/15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]08/10/15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Daily worksheet:

[TABLE="class: grid, width: 250, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Metric1[/TD]
[TD]Metric2[/TD]
[TD]Metric3[/TD]
[TD]Metric4[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Manager Name 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Manager Name 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Ok.. I have made some progress with my issue. I am now using the formula:

=IF($A$3="","",VLOOKUP("ManagerName1",INDIRECT("'"&$A3&"'!$A$2:$E$3"),COLUMN(B2),0))

This appears to be working like a charm except for one major issue. The daily tabs are named using the date. No matter what format I use for the date field, I get a #REF!.

Any ideas?
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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