How to Use SUMIF in WPS Office Spreadsheets to Calculate a Quality Assurance Score
Question details
The user needs a formula that calculates a total quality assurance percentage by adding only the percentage values linked to parameters marked Yes, without subtracting points for parameters marked No.

- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- A quality assurance worksheet has parameter responses in one row, for example E4:S4, and matching percentage weights in another row, for example E1:S1. The score must total the weights only where the response is Yes.
- Observed behavior
- The current calculation subtracts points for No responses, which does not match the desired Yes-only scoring model.
Open your WPS Spreadsheets workbook and verify that the response row and the matching percentage row have the same column layout. If your worksheet uses rows instead of columns, adjust the formula ranges accordingly.
Use SUMIF with a Yes Criterion to Add Matching Percentages
Best when you need a simple, exact-match formula that totals percentages only for cells marked Yes.
The SUMIF function evaluates a range of parameter responses and adds the corresponding percentage values only where the condition is met. This creates an additive quality assurance score without subtracting points for No responses.
Click the empty cell where you want the quality assurance score to appear in WPS Office Spreadsheets.
Type =SUMIF(E4:S4,"Yes",$E$1:$S$1) and press Enter. This sums values in E1:S1 only where the corresponding cell in E4:S4 equals Yes.
Replace E4:S4 and $E$1:$S$1 with your actual response and percentage ranges. Keep dollar signs on the sum range if you plan to copy the formula.

Create an Additive Quality Assurance Score with SUMIF in WPS Office
Use WPS Office Spreadsheets to build a Yes-only scoring model with the SUMIF function. It is free and fully compatible with Excel workbooks, so you can apply the same formula without changing your workflow.
- 1. Open your workbook in WPS Office Spreadsheets: Launch WPS Office, open the quality assurance workbook, and confirm the response row and percentage row are visible.
- 2. Select the result cell: Click the empty cell where you want the total score to be calculated.
- 3. Apply the SUMIF formula: Enter =SUMIF(E4:S4,"Yes",$E$1:$S$1) and press Enter to add only the values whose response is Yes.
- 4. Verify the score: Check the result against a few marked Yes parameters to confirm the formula only adds their matching percentages.

Frequently Asked Questions
What does the SUMIF formula =SUMIF(E4:S4,"Yes",$E$1:$S$1) actually do?
It searches E4:S4 for cells equal to Yes and sums the corresponding values in the locked range E1:S1. Only matching Yes responses are added; No and blank cells are ignored.
Can I use this formula if my Yes/No responses are in a column instead of a row?
Yes. Change the ranges to match your layout, for example =SUMIF(E4:E13,"Yes",$F$4:$F$13). The formula works with vertical ranges as long as both ranges are the same size.
Why should the percentage range use absolute references like $E$1:$S$1?
Absolute references keep the percentage range fixed when you copy the formula to another cell, preventing the sum range from shifting. You can remove the dollar signs if you will not copy the formula.
Does the formula subtract points when a parameter is marked No?
No. SUMIF with the criterion "Yes" only adds values from the sum range where the corresponding response is Yes. It does not process No or blank cells, so no points are subtracted.
What if my worksheet uses "Yes" with extra spaces or lowercase "yes"?
The formula looks for an exact match to Yes. If your data may have extra spaces, use TRIM. For case-insensitive matching, you can use SUMPRODUCT instead, but the standard SUMIF here expects exact Yes text.




