» Counting the Number of YES Responses in a Student Questionnaire
CATEGORY - Counting
VERSION - All Microsoft Excel Versions
Columns B:F contain the answers (Y/N) to 5 questions from each of 7 students.
Each row includes the answers of one student.
We want to count the number of students who gave a certain answer (column H) a specific number of times (column I).
Solution:
Use the SUMPRODUCT and MMULT functions as shown in the following Array formula:
{=SUMPRODUCT(--(MMULT(--($B$2:$F$8=H2),{1;1;1;1;1})=I2))}
Book Store:
Recommended Books:
- Microsoft Office Xp: Advanced Concepts and Techniques: Word 2002, Excel 2002, Access 2002, Powerpoint 2002
- Microsoft Excel VBA Programming for the Absolute Beginner
- Analysis of Financial Statements
- Keys to Reading an Annual Report (Barron's Business Keys)
- Final Accounting: Ambition, Greed and the Fall of Arthur Andersen


Thank you:) :)