View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Counting items with a specific quanitifier in a date range

Hi,

Try something like

=SUMPRODUCT(--(A1:A10=D1),--(A1:A10<=D2),--(B1:B10=D3))

Where 11/1/08 is in D1, 11/30/08 is in D2 and a name is in D3


--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"sprillaman" wrote:

I have 2 columns:
Date Person
10/31/08 SP
11/01/08 JS
11/15/08 SS
11/18/08 SP

I need to count the number of occurances of the person within a specific
date range. More specifically, how many times did SP occur during the month
of November? I have tried with Countif and Sumproduct formulas and can't
seem to get it right. Any help would be greatly apprciated.