=SUMPRODUCT(--(A2:A7]=""A""),--(B2:B7]=""BOX017""),--(C2:C7]=""S1""))
HTH
--
AP
> My data comes in like this:
>
[quoted text clipped - 13 lines]
>
> Thank you in advance.
Tom Ogilvy - 16 Mar 2006 19:11 GMT
Whats up with the square bracked and the double double quotes?
=SUMPRODUCT(--(A2:A7="A"),--(B2:B7="BOX017"),--(C2:C7="S1"))

Signature
Regards,
Tom Ogilvy
> =SUMPRODUCT(--(A2:A7]=""A""),--(B2:B7]=""BOX017""),--(C2:C7]=""S1""))
>
[quoted text clipped - 19 lines]
> >
> > Thank you in advance.
Herbert Seidenberg - 16 Mar 2006 19:46 GMT
If you need to make several searches and
you want to save typing,
enter this formula below Countx:
=SUMPRODUCT((Type=TypeX R)*(ID=IDx R)*(Group=GroupX R))
Formula is in R1C1 style.
Arrange your search data this way and name it:
TypeX IDx GroupX Countx
A BOX017 S1 1
B BOX017 S1 2