Given this spreadsheet image, I want to calculate and display a value based on a 5 day moving average (last 5 days). I want this to be an automatic function, something that doesn't require daily manual adjustments ot the formula. I can't figure out how to do this, so can anyone offer a suggestion?


220)*(A4:A220>((TODAY()-1)-5))*(A4:A220<=(TODAY()-1)),D4
