display number if date is in a range

  • Thread starter Thread starter lmarty
  • Start date Start date
L

lmarty

I have a column of starting dates with a second column of dates 60 days after
first, in a third column I have a event date. I need to count row if event
happens within the 60 days of first column.
10/15/09 12/14/09 12/1/09 1
10/15/09 12/14/09 12/15/09 0
10/25/09 12/24/09 11/15/09 1
10/13/09 12/22/09 11/1/09 1

Thank you
 
Count of rows....
=SUMPRODUCT((A1:A4<=C1:C4)*(B1:B4>=C1:C4))

If this post helps click Yes
 
Sorry, you wanted 0 and 1, not FALSE and TRUE. Try this formula instead...

=--(A1+60>C1)
 
Back
Top