D
Dave Aultman
I'd like to use this variation of sumproduct
=SUMPRODUCT((A1:A20="YES")*(B1:B20="NO"))
This only appears to work if the values in the ranges are text.
I can't figure a variation that works if the values are numbers. More
importantly, for what I'm trying to accomplish, I'd like to be able to
have it check against a reference cell (ie., replace "yes" with a
reference to a another cell).
My example:
I have two sheets, the first is the actual data, like this
Zone Value
913 100
913 100
913 99
913 54
914 100
914 45
914 51
915 100
915 100
915 100
On the second sheet, I just want a summary that will tell me the
summary of each zone's total number of 100's:
Zone Total 100 Scores
913 2
914 1
915 3
So I thought the formula in B1 should be:
=SUMPRODUCT((Sheet1!A1:A20=A1)*(Sheet!B1:B20=100)) Make sense, but
doesn't work.
I came across this sumproduct trick while trying to figure out what
I'm really after in the long run, which is what percentage of each
zone's scores are 100, so final result table would look like:
Zone %
913 66
914 33
915 100
Thanks for any tips.
=SUMPRODUCT((A1:A20="YES")*(B1:B20="NO"))
This only appears to work if the values in the ranges are text.
I can't figure a variation that works if the values are numbers. More
importantly, for what I'm trying to accomplish, I'd like to be able to
have it check against a reference cell (ie., replace "yes" with a
reference to a another cell).
My example:
I have two sheets, the first is the actual data, like this
Zone Value
913 100
913 100
913 99
913 54
914 100
914 45
914 51
915 100
915 100
915 100
On the second sheet, I just want a summary that will tell me the
summary of each zone's total number of 100's:
Zone Total 100 Scores
913 2
914 1
915 3
So I thought the formula in B1 should be:
=SUMPRODUCT((Sheet1!A1:A20=A1)*(Sheet!B1:B20=100)) Make sense, but
doesn't work.
I came across this sumproduct trick while trying to figure out what
I'm really after in the long run, which is what percentage of each
zone's scores are 100, so final result table would look like:
Zone %
913 66
914 33
915 100
Thanks for any tips.