ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   combining weekday formula, average and going back 7 cells (https://www.excelbanter.com/excel-discussion-misc-queries/133240-combining-weekday-formula-average-going-back-7-cells.html)

craig4him

combining weekday formula, average and going back 7 cells
 
I am trying to get a weekly average from a temperature column. The excel
spreadsheet has a months worth of dates and an average for each day. I found
the weekday formula and can convert weekdays to a number from 1 thru 7. From
that I want to use the IF logic formula that day 7 it would average backwards
7 days (cells). There might be an easier way to do it but getting the syntax
right is also a problem. Any help would be appreciated.

MartinW

combining weekday formula, average and going back 7 cells
 
Hi Craig,

Assuming your data is in column F:
put this in G7
=AVERAGE(F1:F7)
and drag down as far as is needed, the cell references
will update automatically as you drag down.

HTH
Martin




All times are GMT +1. The time now is 05:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com