๐Ÿ“˜ Mastering Excel SUMIF Function: Complete Guide with Real-World Examples

  1. What Is the SUMIF Function?

The SUMIF function adds the values in a range that meet a single specified condition.
Itโ€™s perfect for calculating totals based on categories, dates, or thresholds โ€” a go-to tool for automated reports, sales tracking, and more.


  1. Function Syntax

=SUMIF(range, criteria, [sum_range])

Argument Description

range The cells to evaluate based on the condition
criteria The condition to check (e.g., “>=80”, “Apples”)
sum_range (optional) The cells to sum (if different from range)


  1. Real-World Examples of SUMIF in Action

โœ… Example 1: Sum of Sales for a Specific Product

A (Product) B (Sales)

Ramen 1500
Snack 1200
Ramen 1800
Drink 900

=SUMIF(A2:A5, “Ramen”, B2:B5)

โžก Result: 3,300


โœ… Example 2: Sum Scores โ‰ฅ 80

A (Name) B (Score)

Minsu 85
Jihyun 77
Taehun 90
Suyeon 88

=SUMIF(B2:B5, “>=80”)

โžก Result: 263


โœ… Example 3: Sum Sales After a Certain Date

A (Date) B (Amount)

2024-06-01 50,000
2024-06-10 60,000
2024-06-20 45,000

=SUMIF(A2:A4, “>=2024-06-10”, B2:B4)

โžก Result: 105,000


  1. Combining SUMIF with Other Functions

๐Ÿ”น SUMIF + TEXT for dynamic sentences

=”Total Ramen sales: ” & TEXT(SUMIF(A2:A5, “Ramen”, B2:B5), “$#,##0”)

โžก Output: “Total Ramen sales: $3,300”

๐Ÿ”น When to use SUMIFS instead

When multiple conditions are needed, use SUMIFS:

=SUMIFS(C2:C5, A2:A5, “Ramen”, B2:B5, “>1500”)


  1. Tips & Best Practices

Enclose all criteria in double quotes (e.g., “>=80”, “Ramen”)

Ensure range and sum_range are of the same length

For dynamic dates, use formulas like “>=”&TODAY() or DATE(โ€ฆ) for safety


โœ… Summary Checklist

[x] Use SUMIF for single-condition totals

[x] Wrap conditions in double quotes

[x] Use SUMIFS for multiple criteria

[x] Combine with TEXT, IF, etc. for reporting

[x] Match range and sum_range lengths to avoid errors

Similar Posts

๋‹ต๊ธ€ ๋‚จ๊ธฐ๊ธฐ

์ด๋ฉ”์ผ ์ฃผ์†Œ๋Š” ๊ณต๊ฐœ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ•„์ˆ˜ ํ•„๋“œ๋Š” *๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค