Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a spreadsheet with two series of dates, date_paid and date_rec.
The date_paid column has occurrences that are separated by 7 days. What I am trying to do is get an average duration of payment for each payment period. When I use the formula I wrote I get a -32 response, i.e. =AVERAGE((date_paid=A3)-(SUMPRODUCT((date_recA2)*(date_rec<=A3)))) Sheet 1 Date Received Date Paid 8/31/2005 9/14/2005 9/2/2005 9/14/2005 9/6/2005 9/14/2005 9/6/2005 9/21/2005 9/8/2005 9/21/2005 9/9/2005 9/21/2005 9/13/2005 9/21/2005 9/13/2005 9/21/2005 9/13/2005 9/21/2005 9/13/2005 9/21/2005 9/13/2005 9/21/2005 9/14/2005 9/21/2005 9/14/2005 9/21/2005 9/14/2005 9/21/2005 9/14/2005 9/21/2005 9/14/2005 9/21/2005 Sheet 2 A2 9/14/2005 A3 9/21/2005 -32 A4 9/28/2005 A5 10/5/2005 A6 10/12/2005 A7 10/19/2005 A8 10/26/2005 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Average first n numbers in a range (there may be less than n numbe | Excel Discussion (Misc queries) | |||
Array to named range conversion... | Excel Discussion (Misc queries) | |||
How do I average a range of cells when one cell contains #N/A | Excel Discussion (Misc queries) | |||
average of visible cells in a filtered range | Excel Worksheet Functions | |||
Range of dates determine days | Excel Worksheet Functions |