Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Column A is just an ascending list of dates of every day from 1/1/1970 to today. Column B are data associated with each day. Elsewhere on the same worksheet I would like to be able to enter a date in one cell, a number in another cell (let's call the number "N"), and in a third cell have a formula that takes that date and number, looks into the above data, and calculates an N day average of the Column B data from that date forward. Any help would be much appreciated. Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Sun, 13 Apr 2008 17:13:25 -0400, TY wrote:
Column A is just an ascending list of dates of every day from 1/1/1970 to today. Column B are data associated with each day. Elsewhere on the same worksheet I would like to be able to enter a date in one cell, a number in another cell (let's call the number "N"), and in a third cell have a formula that takes that date and number, looks into the above data, and calculates an N day average of the Column B data from that date forward. Any help would be much appreciated. Thanks Try this: The date is in cell C1, the number N is in cell D1. in cell E1 you put =AVERAGE(OFFSET(A1,C1-A1,1,D1,1)) Hope this helps / Lars-Åke |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Lars-Åke Aspelin wrote:
Try this: The date is in cell C1, the number N is in cell D1. in cell E1 you put =AVERAGE(OFFSET(A1,C1-A1,1,D1,1)) Hope this helps / Lars-Åke That works! Thank you very much. TY |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy and paste problem Excel 2003 to Word 2003 | Excel Discussion (Misc queries) | |||
opening excel files from access 2003, win xp, office 2003 | Excel Discussion (Misc queries) | |||
import Excel 2003 file into Outlook 2003 - NO NAMED RANGES?? | Excel Discussion (Misc queries) | |||
Copying Excel 2003 Selection into Outlook 2003 HTML E-Mail Message | Excel Discussion (Misc queries) | |||
Excel 2003 Database Driver Visual FoxPro 7 on Server 2003. | Excel Discussion (Misc queries) |