» 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:
- Financial Shenanigans : How to Detect Accounting Gimmicks & Fraud in Financial Reports
- Millionaire Real Estate Mentor : The Secrets of Financial Freedom through Real Estate Investing
- Infectious Greed: How Deceit and Risk Corrupted the Financial Markets
- Accounting the Easy Way
- Yes, You Can Time the Market!
- Accounting Principles, with CD, 6th Edition


Thank you:) :)