T
T. Valko
To include a date range..
Data!A2:A100 = names
Data!B2:B100 = response
Data!C2:C100 = dates
These are the criteria:
B2 = some name = Mike
C2 = some response = very satisfied
D2 = start date = 9/1/2009
E2 = end date = 9/30/2009
=SUMPRODUCT(--(Data!A2:A100=B2),--(Data!B2:B100=C2),--(Data!C2:C100>=D2),--(Data!C2:C100<=E2))
--
Biff
Microsoft Excel MVP
Data!A2:A100 = names
Data!B2:B100 = response
Data!C2:C100 = dates
These are the criteria:
B2 = some name = Mike
C2 = some response = very satisfied
D2 = start date = 9/1/2009
E2 = end date = 9/30/2009
=SUMPRODUCT(--(Data!A2:A100=B2),--(Data!B2:B100=C2),--(Data!C2:C100>=D2),--(Data!C2:C100<=E2))
--
Biff
Microsoft Excel MVP
Hijosdelongi said:I got the average already, thanks to you... but is there any way that i can
put a date range on the formula? something like i can only count the
number
of very satisfied ratings this september?
can this be possible?
=SUMPRODUCT(--(Data!A2:A100=B2),--(Data!B2:B100=C3),--(A1:A31=[Date.xls]Date!A1:A31))
is this possible?
Thank you.
T. Valko said:Ok, I'm assuming you want the count of "very satisfied" for a particular
person.
=SUMPRODUCT(--(Data!A2:A100=B2),--(Data!B2:B100=C3))
If you're using Excel 2007:
=COUNTIFS(Data!A2:A100,B2,Data!B2:B100,C3)
I'm not sure about your average. *Exactly* what do you want to average?