Assuming real dates in A1:A17 as posted
In B1: 3
Then in C1:
=SUMPRODUCT((A1:A17>="11-Jan-09"-B1)*(A1:A17<="11-Jan-09"+B1))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:363 Subscribers:64
xdemechanik
---
"Eric" wrote:
> Does anyone have any suggestions on how to determine the date?
> There is a list of date under column A, and a given number 3 in cell B1
> I would like to determine the highest occurrence +/- 3 days
>
> If I select the date 11-Jan-08, the range will be between 8-Jan-08 and
> 14-Jan-08.
> For the occurrence on 11--Jan-08, it should return 2 in cell C1.
> Does anyone have any suggestions on how to determine the highest occurrence?
> Thanks in advance for any suggestions
> Eric
>
> 04-Jan-09
> 09-Jan-09
> 11-Jan-09
> 18-Jan-09
> 20-Jan-09
> 22-Jan-09
> 23-Jan-09
> 24-Jan-09
> 24-Jan-09
> 24-Jan-09
> 24-Jan-09
> 26-Jan-09
> 27-Jan-09
> 05-Feb-09
> 06-Feb-09
> 12-Feb-09
> 17-Feb-09
> ...
>