Using Offset to make a dynamic formula

PureBluff

Board Regular
Joined
Apr 4, 2014
Messages
174
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
Evening all,

Ran into an issue I cant get my head around, Im tired and just cannot fathom how to make this work!

I have two data sets:

One is a projected percentil split by customer/day
Another is a Forecast versus Actual report

Dataset1:

CustomerSunMonTueWedThuFriSat
Customer 416%8%13%19%43%
Customer 520%9%36%34%
Customer 620%9%36%34%
Customer 720%9%36%34%
Customer 814%13%18%16%39%
Customer 933%33%34%
Customer 1042%58%
Customer 11
Customer 1234%33%33%
Customer 1320%20%20%20%20%
Customer 1420%20%20%20%20%
Customer 1520%20%20%20%20%
Customer 1620%20%20%20%20%
Customer 1720%20%20%20%20%
Customer 1820%20%20%20%20%
Customer 1920%20%20%20%20%


Data Set two (where I need the formula):

I have the below:

#N/A
0
0.33
SunMonTueWedThuFri
CustomerSVC Code
29/12/2019
30/12/2019
31/12/2019
01/01/2020
02/01/2020
03/01/2020
Customer 4
40270051
Customer 4
40272118
Customer 4
40272119
Customer 5
40035864


Now, in the second row (yellow), I need to return the percentage split from a lookup of the customer/day in data set 1. Ideally with a formula that as I increment the column right along the 2nd row it increments the row index by +1

Any help greatly appreciated.
Thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
If "Customer 4" is in cell A4 of the second sheet, and "Customer" is in A1 of the First sheet, try

=VLOOKUP($A5, Sheet1!$B$2:$H$20, MATCH(C$1, Sheet1!$A1:$H$1,0), False)
 
Upvote 0
1588116647625.png
1588116712264.png
 
Upvote 0

Forum statistics

Threads
1,214,902
Messages
6,122,161
Members
449,069
Latest member
msilva74

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