Excel SUMIF Function
Add values in a range that meet a single condition — the essential bridge between raw data and conditional financial reporting.
SUMIF is a conditional aggregation function that adds only those cells in a sum range where a corresponding cell in the criteria range satisfies a specified condition or criteria. It is categorised under Math & Trigonometry in Excel.
Unlike plain SUM which adds everything, SUMIF gives you targeted, filtered totals — for example: total sales for a specific product, total expenses in a particular category, or total dues from a specific customer. It supports text, numbers, dates, and wildcard criteria, making it extremely versatile for Indian accounting, MIS, and reporting workflows.
=SUMIF(A:A,">"&E1,B:B)
A Sales Manager has daily transaction data with Region and Amount columns. She wants the total sales for the North Zone only.
| A — Region | B — Salesperson | C — Sales (₹) |
|---|---|---|
| North | Amit Sharma | 1,45,000 |
| South | Priya Nair | 98,000 |
| North | Rajiv Gupta | 2,10,000 |
| East | Sunita Das | 76,500 |
| North | Kavita Joshi | 1,87,000 |
| West | Mohan Pillai | 1,32,000 |
| North Zone Total | ₹ 5,42,000 | |
An Accounts team tracks departmental expenses. The Finance Head wants to pull the total expense for any selected department dynamically — using a dropdown cell reference as criteria instead of a hardcoded text string, making the report reusable.
| A — Department | B — Expense Head | C — Amount (₹) |
|---|---|---|
| Marketing | Digital Ads | 3,40,000 |
| HR | Recruitment | 1,20,000 |
| Marketing | Events & PR | 2,80,000 |
| Operations | Logistics | 4,50,000 |
| HR | Training | 95,000 |
| Marketing | Content | 1,60,000 |
| Marketing Total (via F1) | ₹ 7,80,000 | |
Formula in F2 → =SUMIF(A2:A7,F1,C2:C7)
- Finance Summing expenses by ledger head (Rent, Salary, Marketing) from a multi-category expense register for P&L preparation.
- Tax Totalling GST-eligible transactions by HSN code or tax slab (5%, 12%, 18%, 28%) for GSTR filing reconciliation.
- Sales Computing target-vs-actual by region or product category from a flat sales dump exported from CRM / Tally.
- Audit Summing transactions above a threshold (e.g., all payments > ₹2,00,000) for high-value transaction review.
- HR Calculating total salary outgo for a specific grade, designation, or department from payroll master data.
- Retail Getting category-wise stock value from inventory (e.g., all items in "Electronics") using product category column.
=SUMIF(A:A, North, B:B) without quotes causes a #NAME? or wrong-value error because Excel tries to interpret "North" as a named range.
=SUMIF(A:A,"North",B:B)=SUMIF(A1:A10,"North",B1:B5) where the ranges are different sizes causes Excel to misalign cells and return incorrect totals silently.
=SUMIF(A1:A10,"North",B1:B10)=SUMIFS(C:C,A:A,"North",B:B,"Laptop")=SUMIF(A:A,"North",B:B) directly in 12 separate cells for 12 regions means manually updating formulas every time a region name changes.
=SUMIF($A:$A,E2,$B:$B) and drag down — changes to E2 propagate automatically.=SUMIF(C:C, >50000, D:D) without quotes around the operator causes a formula error — Excel cannot parse bare comparison operators as criteria.
=SUMIF(C:C,">50000",D:D) or use ">"&E1 for dynamic values.