Hello,
I've been puzzled by this situation for quite some time now... Below is partial data set and i need a formula where i have to count "In how many events did either the US, Germany or France win a medal?"
This makes it a bit more difficult than usual for sumproduct because of multiple OR criteria in the same ranges.
i tried this formula but i wasnt getting the right answer..
=SUMPRODUCT(--(((($M$6:$M$101)={"United States","Germany","France"})+(($N$6:$N$101)={"United States","Germany","France"})+(($M$6:$M$101)={"United States","Germany","France"}))>0))
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
I've been puzzled by this situation for quite some time now... Below is partial data set and i need a formula where i have to count "In how many events did either the US, Germany or France win a medal?"
This makes it a bit more difficult than usual for sumproduct because of multiple OR criteria in the same ranges.
i tried this formula but i wasnt getting the right answer..
=SUMPRODUCT(--(((($M$6:$M$101)={"United States","Germany","France"})+(($N$6:$N$101)={"United States","Germany","France"})+(($M$6:$M$101)={"United States","Germany","France"}))>0))
Olympic event | Gold | Silver | Bronze |
Event 1 | United Kingdom | Germany | France |
Event 2 | China | Colombia | China |
Event 3 | Cuba | Ukraine | Poland |
Event 4 | Colombia | Colombia | Russia |
Event 5 | Portugal | United States | Indonesia |
Event 6 | United States | China | Peru |
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>