I have two sheets with rows of data that are organized by each row representing a date in chronological order. I need the sumproduct of those rows based on the most recent date, and that cell has to change to the most recent date once a new day is upon us.
so:
Sheet 1:
day 1 x y z
day 2 x1 y1 z1
day 3 x2 y2 z2
Sheet 2:
day 1 a b c
day 2 a1 b1 c1
day 3 a2 b2 c2
Basically I need the sumproduct function to do (x2)(a2)+(y2)(b2)+(z2)*(c2) and when a new day is added with x3......c3, it needs to caluclate the sumproduct for the new row without having manual parameter changes.
I tried using a max and an index function to figure out how many rows down the most recent day is, but not sure how to get the sumproduct to use that info to calculate the row to the right of the most recent day.