Formula Errors

How to Sum Excel Values While Ignoring Incomplete or Error Rows in WPS Spreadsheets

Camila MilosovichCamila Milosovich Nov 13, 2026 869 views

Question details

User needs a reliable WPS Spreadsheets formula to sum completed profit and loss values while excluding rows that return #N/A due to incomplete data.

How to Sum Excel Values While Ignoring Incomplete or Error Rows in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The worksheet contains profit and loss rows; incomplete rows display #N/A and should be ignored when calculating the total.
Observed behavior
A standard SUM or SUMIF formula returns an error or includes incomplete rows, so the total is not reliable.
Before you start

Identify the exact range that contains the profit and loss values and confirm which rows return #N/A because required inputs are missing.

Solution 1Recommended

Use AGGREGATE to Sum the Range While Ignoring #N/A Errors

Best when the profit and loss range contains error values and you want one formula that sums only valid numbers.

AGGREGATE with function_num 9 performs SUM, and option 6 ignores error values such as #N/A. It works without array entry in WPS Spreadsheets.

1
Select the result cell

Click the cell where you want the completed total to appear.

2
Enter the AGGREGATE formula

Type =AGGREGATE(9,6,profit_loss_range) and replace profit_loss_range with your actual range, such as C2:C100.

3
Press Enter and verify

Press Enter. The formula returns the sum of all numeric completed values and skips #N/A cells.

Use AGGREGATE to Sum the Range While Ignoring #N/A Errors
Errors are ignored: The total now reflects only completed profit and loss rows; incomplete #N/A rows are skipped automatically.

Sum Values While Ignoring Error Rows in WPS Spreadsheets

Use the AGGREGATE formula in WPS Spreadsheets to total completed profit and loss values while automatically skipping #N/A error rows, without complicated array formulas.

  1. 1. Open the workbook in WPS Spreadsheets: Double-click the Excel-compatible workbook file or open WPS Office and browse to the file.
  2. 2. Select the result cell: Click an empty cell where you want the completed profit and loss total to appear.
  3. 3. Enter the AGGREGATE formula: Type =AGGREGATE(9,6,C2:C100) and replace C2:C100 with your actual profit and loss range.
  4. 4. Press Enter and confirm: Press Enter and verify that only completed numeric values are summed while #N/A error rows are ignored.
One formula totals only completed numeric values and ignores #N/A errorsFull compatibility with Excel .xlsx and .xls workbooksFamiliar SUM and AGGREGATE syntax with no array entry requiredFree, lightweight spreadsheet tool for routine reporting and data cleanup
microsoft office alternative - wps office

Frequently Asked Questions

Can AGGREGATE ignore errors other than #N/A?

Yes. In WPS Spreadsheets, =AGGREGATE(9,6,range) uses option 6 to ignore all evaluated error values in the range, including #DIV/0!, #VALUE!, and #REF!.

Does AGGREGATE work when the file is later opened in Microsoft Excel?

Yes. AGGREGATE is supported in Excel 2010 or later and in WPS Spreadsheets, so the workbook remains formula-compatible when you switch between applications.

How do I make incomplete formulas return blank instead of #N/A before summing?

Wrap the source formula with IFERROR, such as =IFERROR(existing_formula,0), or check missing inputs with IF so the cell returns blank or zero, then use a normal =SUM(range).

Why is SUMIFS better when I have a status column?

SUMIFS can include only rows whose status column equals Completed, so incomplete rows are excluded by the condition before their error values affect the total.