Hi
In Column P I have a date (ie 1 March 2021)
In column B (starting in B4:B100) - counting downwards, so the most recent date is in B4 - 23 March 2021 to B100 21 December 2020)
In Column C I have figures corresponding to those dates
I want it to look up the date in P1, and then reference that to column B's dates, and then use the figure in Column C and calculate the average
In Column P I have a date (ie 1 March 2021)
In column B (starting in B4:B100) - counting downwards, so the most recent date is in B4 - 23 March 2021 to B100 21 December 2020)
In Column C I have figures corresponding to those dates
I want it to look up the date in P1, and then reference that to column B's dates, and then use the figure in Column C and calculate the average
P1 | 01 March 2021 | AVERAGE :25 |
(Average of 10, 18, 36, 42, 37, 19, 13) |
B4 | 23 March 2021 | 42 |
B5 | 22 March 2021 | 36 |
.... | .... | ...... |
B27 | 01 March 2021 | 10 |
B28 | 28 February 2021 | 18 |
B29 | 27 February 2021 | 36 |
B30 | 26 February 2021 | 42 |
B31 | 25 February 2021 | 37 |
B32 | 24 February 2021 | 19 |
B33 | 23 February 2021 | 13 |
B34 | 22 February 2021 | 17 |