Offset\Vlookup\Index Formula or should I use ??????

L

Legacy 462336

Guest
I have a file with two tabs. Tab one has data - Week, Rating, Score information that I manually enter in each week highlighted in yellow. Tab two has data - Week, Dept, Total Hr, Total Output, OPLH information that I use to get my OPLH grand total that I enter into the rating column in tab one. Example: Tab two Cell D46 is what I manually enter into Tab one Cell C3 and so on for each week.

Basically, I'm looking for a formula or method to take the second tab Cell D46 information each time the pivot table is generated for the week and be placed in the appropriate Rating column based in tab one. Something like In tab one Cell C3 I would have a formula =Vlookup(B3, "Select the range from tab 2" A1:J46, then I'm lost because I have not instructed excel that once it finds the correct date 10/5/2020 in this case, then select the data in cell D46. The same goes for using the offset formula and......so on. Any help is appreciated. Once the formula is generated I will copy it down column C on tab one and the appropriate rating will appear.


Annotation 2020-06-05 123750.jpg
Annotation 2020-06-05 131334.jpg
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hello,

Basically you have a range like this (pivot or not, does not really matter):
Book1
ABCDEFGHIJ
1
2
3
45/10/201912/10/201919/10/2019
5
6
7
8
9
10Grand Total304,74120025393,9304,25129057424,22015,44133456619,5
Sheet1


You can use an index-match-match combo.
Cell Formulas
RangeFormula
C3:C9C3=INDEX(Sheet1!$A$4:$ZZ$5000,MATCH("Grand Total",Sheet1!$A$4:$A$5000,0),MATCH(Sheet2!B3,Sheet1!$A$4:$ZZ$4,0)+2)
B4:B9B4=B3+7


Alternative is to "point" to the correct pivot intersect, and having generate GETPIVOTDATA feature on will generate a formula with hard coded row/column references. You can make these dynalic by referring to cell addresses. Here is a tutorial.
1591439989004.png
 
Upvote 0

Forum statistics

Threads
1,214,837
Messages
6,121,883
Members
449,057
Latest member
Moo4247

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