WPS Spreadsheet: Count Pass and Fail Results Across Excel Sheets
Question details
The user needs to summarize Pass and Fail outcomes from multiple rows, people, and worksheets on one master summary sheet.
- Product
- WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Each worksheet stores results in column D, and a master sheet must display the combined Pass and Fail totals.
- Observed behavior
- The Pass and Fail results are distributed across several worksheets instead of being summarized in one location.
Confirm that every source worksheet uses the same outcome column, such as column D, and that the result text is consistently entered as Pass or Fail. Note the exact worksheet names, including spaces or special characters, before writing the formulas.
Use COUNTIF formulas to total Pass and Fail across worksheets
Use this method when the source sheets have a consistent result column and you want a quick master-sheet summary.
Create one formula for each outcome and add the result from every source worksheet. If a sheet name contains spaces, enclose it in single quotation marks, such as 'Team A'!D:D.
On the master summary sheet, enter Pass in cell A2 and Fail in cell A3.
Select the cell beside Pass, such as B2, and enter a formula such as =COUNTIF(Sheet1!D:D,"Pass")+COUNTIF(Sheet2!D:D,"Pass")+COUNTIF(Sheet3!D:D,"Pass"). Replace the sheet names with your actual worksheets.
Select the cell beside Fail, such as B3, and enter =COUNTIF(Sheet1!D:D,"Fail")+COUNTIF(Sheet2!D:D,"Fail")+COUNTIF(Sheet3!D:D,"Fail").
Press Enter and compare the counts with the source worksheets. If a worksheet name contains spaces, use a reference such as =COUNTIF('Team A'!D:D,"Pass").
Combine the source results into one summary range
Use this approach when worksheets change often or when you want one range that can be filtered, reviewed, and counted more easily.
Build a Pass and Fail summary in WPS Spreadsheet
WPS Spreadsheet lets you open compatible Excel workbooks, use COUNTIF formulas across worksheets, and create a clear master summary without manually counting each result.
- 1. Open the workbook: Launch WPS Office, select Spreadsheet, and open the workbook containing the source worksheets.
- 2. Create the summary sheet: Click the plus button to add a worksheet, then label it Master Summary.
- 3. Add the COUNTIF formulas: Enter Pass and Fail labels and use COUNTIF references to the result column on each source worksheet.
- 4. Save the finished workbook: Choose File > Save As and select Excel Workbook (*.xlsx) if you need to share the summary with Microsoft Excel users.

Frequently Asked Questions
How do I count Pass results from several WPS Spreadsheet sheets?
On the master sheet, use one COUNTIF for each source worksheet and add them together, for example =COUNTIF(Sheet1!D:D,"Pass")+COUNTIF(Sheet2!D:D,"Pass"). Replace the sheet names and column with your actual data.
What formula counts both Pass and Fail results?
Place Pass and Fail in separate summary cells, then use COUNTIF for each label. For example, =COUNTIF(Sheet1!D:D,A2)+COUNTIF(Sheet2!D:D,A2) counts the outcome named in A2; copy it down for Fail.
How should I reference a worksheet name that contains spaces?
Enclose the worksheet name in single quotation marks. For example, use =COUNTIF('North Team'!D:D,"Pass") when the sheet is named North Team.
Can I count results from a consolidated master column instead?
Yes. Copy the results into one Outcome column on the master sheet and use =COUNTIF($D$2:$D$1000,A2), where A2 contains Pass or Fail. Expand the range when more rows are added.
Why is my Pass count lower than expected?
Check for extra spaces, spelling differences, or inconsistent capitalization in the source cells. Standardize entries to exactly Pass or Fail, and confirm that the formulas reference the correct worksheet and column.




