Stop Filtering Manually: How to Use SUMIFS in Excel
If you are still applying column filters one by one, highlighting rows, and typing totals manually into your summary reports, you are wasting valuable time. Worse yet, the moment someone updates a single number in your raw dataset, your manual totals become inaccurate.
With Excel’s SUMIFS function, you can automatically sum values across two, three, or even ten different conditions at once—ensuring your reports update dynamically in real time.
Understanding the SUMIFS Syntax
Before writing the formula, remember one golden rule: unlike the standard SUMIF function, SUMIFS puts the range you want to add up first.
Excel
=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
sum_range: The column of numbers you want to add together (e.g., Sales Amount).criteria_range1: The first column Excel will check for a condition (e.g., Branch Name).criteria1: The specific condition you want to match (e.g.,"Dhaka").
Step-by-Step Example: Summing Sales by Branch & Minimum Amount
Imagine a sales table where Branch is in Column B (B2:B100) and Sales Amount is in Column D (D2:D100). Our goal is to calculate the total sales for the Dhaka branch where individual orders are greater than 50,000.
[Insert Infographic / Screenshot of Excel Table Here]
- Select your target cell (e.g.,
G2) and type=SUMIFS(. - Choose your
sum_range: Highlight the Sales Amount column (D2:D100), pressF4to lock the reference, and type a comma. - Set Criteria 1 (Text Match): Highlight the Branch column (
B2:B100), pressF4, type a comma, and click the cell containing"Dhaka"(or type"Dhaka"inside quotes). Type a comma. - Set Criteria 2 (Number Condition): Highlight the Sales Amount column (
D2:D100) again, pressF4, and type a comma. Wrap your comparison operator in quotation marks by typing">50000". - Close and Execute: Type
)and press Enter.
Your completed formula will look like this:
Excel
=SUMIFS($D$2:$D$100, $B$2:$B$100, "Dhaka", $D$2:$D$100, ">50000")
2 Common SUMIFS Errors (And How to Fix Them)
#VALUE!Error: Every range in your formula must have the same number of rows. If yoursum_rangeisD2:D100and yourcriteria_rangeisB2:B50, Excel will return an error.- Formula Returns
0: Always wrap logical operators (>,<,>=,<>) inside double quotation marks—for example,">50000", not>50000.
📥 Download the Free Practice File (.XLSX)
Want to test this formula yourself?
Download the exact sales dataset used in this tutorial—complete with a bonus tab showing how to sum totals between two dates.


