Function Problems

How to Use SUMIFS in WPS Spreadsheets to Sum Bananas from Ecuador and India

Olivia MillerOlivia Miller Nov 13, 2026 869 views

Question details

The user needs to calculate total pounds of bananas produced in 2021 by Ecuador and India using SUMIFS in WPS Spreadsheets, applying both product and country criteria.

How to Use SUMIFS in WPS Spreadsheets to Sum Bananas from Ecuador and India
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The user has a produce data range with columns for product, country, and pounds and wants a formula that sums banana pounds where the country is either India or Ecuador.
Observed behavior
The formula must return 532,108 pounds by combining SUMIFS results for both India and Ecuador.
Before you start

Open the WPS Spreadsheets workbook and confirm that the data range C2:C11 contains the pound values, A2:A11 contains product names, and B2:B11 contains country names. Ensure the criteria values use the exact text 'Bananas', 'India', and 'Ecuador'.

Solution 1Recommended

Use SUM with SUMIFS and an Array Constant for Ecuador and India

Use this when you need to sum values that match one product and any of multiple countries in WPS Spreadsheets.

SUMIFS normally accepts one criterion per criteria range. To include two countries, wrap SUMIFS inside SUM and supply the country criteria as an array constant {"India","Ecuador"}. WPS Spreadsheets evaluates SUMIFS for each country and SUM adds the results.

1
Select the result cell

Click the cell where you want the total pounds of bananas to appear.

2
Enter the SUM and SUMIFS formula

Type =SUM(SUMIFS(C2:C11,A2:A11,"Bananas",B2:B11,{"India","Ecuador"})).

3
Press Enter

Press Enter. The formula returns 532,108 pounds by adding the India and Ecuador SUMIFS results.

Use SUM with SUMIFS and an Array Constant for Ecuador and India
Result: The array constant automatically returns one result per country, so SUM totals both and no Ctrl+Shift+Enter is required in WPS Spreadsheets.
WPS Spreadsheets formula help

Create Multi-Criteria SUMIFS Totals in WPS Spreadsheets

Use WPS Spreadsheets to combine SUMIFS with SUM and array constants, so you can total values such as bananas from Ecuador and India without separate helper formulas.

  1. 1. Open WPS Spreadsheets: Launch WPS Office and open the workbook that contains the produce data in columns A, B, and C.
  2. 2. Select the target cell: Click an empty cell where the total should appear.
  3. 3. Enter the formula: Type =SUM(SUMIFS(C2:C11,A2:A11,"Bananas",B2:B11,{"India","Ecuador"})) and press Enter.
  4. 4. Check the result: Confirm that the cell displays 532,108 pounds, which is the combined total for India and Ecuador.
Handles SUMIFS array criteria directly in WPS Spreadsheets.Returns the Ecuador and India banana total in one formula.Opens and saves Microsoft Excel .xlsx files with compatible formulas.Free, lightweight spreadsheet tools with a familiar formula bar and function support.
microsoft office alternative - wps office

Frequently Asked Questions

Why does a standard SUMIFS formula not accept India and Ecuador in one country range?

A single SUMIFS criteria pair accepts one criterion unless you use an array constant. In WPS Spreadsheets, wrap SUMIFS in SUM and use {"India","Ecuador"} as the criteria, or add two separate SUMIFS formulas.

Do I need to press Ctrl+Shift+Enter for the array constant in WPS Spreadsheets?

No. The formula =SUM(SUMIFS(C2:C11,A2:A11,"Bananas",B2:B11,{"India","Ecuador"})) returns the total normally when entered with Enter in WPS Spreadsheets.

Can I use cell references instead of typing India and Ecuador in the formula?

Yes. For cell-based multiple criteria, use separate SUMIFS formulas added together, such as =SUMIFS(C2:C11,A2:A11,"Bananas",B2:B11,G1)+SUMIFS(C2:C11,A2:A11,"Bananas",B2:B11,G2), where G1 and G2 contain the country names.

What should I check if the formula returns an error or an unexpected total?

Make sure the criteria ranges have the same size, the text matches exactly, and the pound values are numeric. Check for extra spaces or capitalization differences in 'Bananas', 'India', and 'Ecuador'.