Hello,
I have a spreadsheet with a header row and two columns - date (A:A) and measurement (B:B), see example below. The rows are sorted by date but not always sequential - on some dates there is no measure and hence no corresponding row. I use the formula =SUM(B$2:B3)/(A3-A$2) to calculate the running average of measurements in cell C2 and drag the fill handle down to populate the remaining cells in the column. How would I calculate the running average over the last x days?