Function Problems

Use Excel SUMIFS to Filter Two Columns and Total a Third

Rana GarciaRana Garcia Dec 2, 2026 868 views

Question details

Total amounts in one column only when a name and a status in two other columns both match specified criteria.

Use Excel SUMIFS to Filter Two Columns and Total a Third
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains amounts, names, and statuses in separate columns, and the user wants a conditional total.
Observed behavior
The desired total includes only rows where both the name and status match the specified values.
Before you start

Check the worksheet name and identify the amount, name, and status columns. In the example below, the sheet is named Individual YTD, with amounts in column B, names in column D, and statuses in column E.

Solution 1Recommended

Use SUMIFS to match a name and status

Use SUMIFS when each row must meet both conditions before its amount is included.

1
Select the result cell

In Excel, click the empty cell where you want the conditional total to appear.

2
Enter the SUMIFS formula

Type =SUMIFS('Individual YTD'!B:B,'Individual YTD'!D:D,"Name",'Individual YTD'!E:E,"Lost") into the cell or formula bar.

3
Set your criteria

Replace "Name" with the name you want to match and "Lost" with the desired status. Adjust the sheet name and column references if your data is arranged differently.

4
Calculate the total

Press Enter. Excel adds the amounts in column B only for rows where column D matches the name and column E matches the status.

Use SUMIFS to match a name and status
Keep ranges aligned: The sum range and each criteria range must cover corresponding rows. SUMIFS supports multiple conditions; SUMIF accepts one condition.
WPS Spreadsheet

Calculate a two-condition total in WPS Spreadsheet

Use SUMIFS in WPS Spreadsheet to total amounts only when both the name and status match your criteria.

  1. 1. Open your workbook: Open WPS Spreadsheet and select Open to load your Excel workbook.
  2. 2. Choose a result cell: Click an empty cell where you want the total to appear.
  3. 3. Enter the formula: In the cell or formula bar, type =SUMIFS('Individual YTD'!B:B,'Individual YTD'!D:D,"Name",'Individual YTD'!E:E,"Lost"). Replace the sheet name, columns, and criteria as needed.
  4. 4. Calculate: Press Enter to display the total for rows matching both criteria.
Apply multiple criteria to a single total with SUMIFSOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for formulas and data
microsoft office alternative - wps office

Frequently Asked Questions

What is the difference between SUMIF and SUMIFS?

SUMIF evaluates one condition, while SUMIFS can evaluate multiple conditions. For a name and status, use SUMIFS with the amount range first, followed by each criteria range and criterion.

Can I use cells for the name and status criteria?

Yes. If the name is in H2 and the status is in I2, use =SUMIFS('Individual YTD'!B:B,'Individual YTD'!D:D,H2,'Individual YTD'!E:E,I2).

Why does SUMIFS return zero when I expect a total?

Check that the name and status match the source cells, including any extra spaces, and that the amounts are stored as numbers. Also verify that the formula references the correct sheet and columns.

Can I limit the formula to a specific range of rows?

Yes. For example, use =SUMIFS('Individual YTD'!B2:B100,'Individual YTD'!D2:D100,"Name",'Individual YTD'!E2:E100,"Lost"). Keep all ranges the same size and aligned to the same rows.