SubscribeDoofus, I think I am confused which A and B you mean. When I input the formula you give me, I'm not sure what to change MyLaps to. If I change it to "amount" I get a number that doesn't seem right [I get 20.2 when that week I only swam 12 and 18 laps] Maybe I'm not as good at Excel as I thought? Given the data I have I'd like to be able to plot what the average laps-per-day I have swum is, and I figured a rolling seven day average was an okay way to do this, but maybe I can do it as just an average year-to-date?
=SUMIF(A$3:A3;">="&A4-7;B$3:B3)/COUNTIF(A$3:A3;">="&A4-7)

You are not logged in, either login or create an account to post comments
If you don't have the Data Analysis option, or want a way to do it while you're still gathering your data, I might make a new column of data called "Moving average" next to "Laps". Its entries would look like (assuming your data really starts in cell B2)
=Average(B2:B8). Copying and pasting that formula into each successive cell in the row will get you your moving average.posted by boo_radley at 9:05 AM on May 21, 2006