So I have this table:
I added 1.5 in B11 and 5 in B12 manually but what formula should I type to get the average for before or equal and after a given date?
try:
=AVERAGE(FILTER(FILTER(B2:6, A2:A6=B9), B1:1<=B10))
and:
=AVERAGE(FILTER(FILTER(B2:6, A2:A6=B9), B1:1>B10))