> Hello and thank you for reading.
>
[quoted text clipped - 20 lines]
> B Y Y
> A N Y
Hello,
Unfortunately both formulas are wrong because they would accept "AY"
"" "Y" in cells A1, B1, C1, for example.
I would prefer
=SUMPRODUCT(--(A1:A100="A"),--(B1:B100="Y"),--(C1:C100="Y"))
Regards,
Bernd
ShaneDevenshire - 17 Jun 2007 16:30 GMT
The answer is based strictly on users description and sample data will work
fine. Nothing wrong with the other solutions either, these are just
variations on common themes.
For example a grade of AY seems unlikely from my experience in education,
although an incorrect entry could cause that, but then the incorrect entry of
Q would also cause a problem with respect to the final answer. From the
description it sounds like Y and N mean Yes and No and are exclusive and
inclusive, hense and entry of YN or AY or any other in the second and third
columns will give an incorrect result but that is because it is an incorrect
entry.
But if the data were anything else where the answers were not apparently
preset, the more standard SUM or SUMPRODUCT versions should be used.

Signature
Cheers,
Shane Devenshire
> Hello,
>
[quoted text clipped - 6 lines]
> Regards,
> Bernd