1. You make it awfully hard to help you by hard coding UK formats in your
formula,
If indeed the values in B are genuine dates and times you can simply use
=SUMPRODUCT(--(A1:A99="Doe"),--(B1:B99>=NOW()-15))
Of course if the dates are text you will get TRUE for all dates for Doe
you could also make sure there are no dates in the future
=SUMPRODUCT(--(A1:A99="Doe"),--(B1:B99>=NOW()-15),--(B1:B99<=NOW()))

Signature
Regards,
Peo Sjoblom
>> I am trying to get counts by name for all the ticket open from now
>> until 15 days ago then 16 to 30 days ago etc.
[quoted text clipped - 31 lines]
> =SUMPRODUCT(--(TEXT(B1:B99,"dd/mm/yyyy HH:mm")>=TEXT(NOW()-15,"dd/mm/
> yyyy HH:mm")),--(A1:A99="Doe"))
frogman7 - 13 Aug 2007 19:53 GMT
> 1. You make it awfully hard to help you by hard coding UK formats in your
> formula,
[quoted text clipped - 50 lines]
>
> - Show quoted text -
thanks that worked great