Sumproduct ?? Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My data comes in like this:

Type ID Group
B BOX017 VR
A BOX017 S1
B BOX017 S1
A BOX234 S1
B BOX017 S1
B BOX017 GK




I am trying to find a formula for cell B2 below that will count the number
of occurances of Type=A, ID=BOX017, and Group=S1.

ID Type A
BOX017 1

Thank you in advance.
 
Whats up with the square bracked and the double double quotes?

=SUMPRODUCT(--(A2:A7="A"),--(B2:B7="BOX017"),--(C2:C7="S1"))

--
Regards,
Tom Ogilvy



Ardus Petus said:
=SUMPRODUCT(--(A2:A7]=""A""),--(B2:B7]=""BOX017""),--(C2:C7]=""S1""))

HTH
--
AP

carl said:
My data comes in like this:

Type ID Group
B BOX017 VR
A BOX017 S1
B BOX017 S1
A BOX234 S1
B BOX017 S1
B BOX017 GK




I am trying to find a formula for cell B2 below that will count the number
of occurances of Type=A, ID=BOX017, and Group=S1.

ID Type A
BOX017 1

Thank you in advance.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Multiple Matches 3
Sumproduct Question 1
Creating A New Table 4
INDEXing Question 3
Average IF Question 2
SumProduct Question 1
Sumproduct Not Working 5
Using a wild card * with Sumproduct 4

Back
Top