Excel SUMIF | SUMIFS | SUM function

Excel 194 views 1 replies

Watch Video - Excel Formula Tutorial | All Excel Tutorial Videos

Summary  - The Excel SUMIF function returns the sum of cells that meet a single condition. Criteria can be applied to dates, numbers, and text. The SUMIF function supports logical operators (>,<,<>,=) and wildcards (*,?) for partial matching.

Purpose - Sum numbers in a range that meet supplied criteria

Return value - The sum of values supplied.

Syntax - =SUMIF (range, criteria, [sum_range])

Arguments - 

  • range - The range of cells that you want to apply the criteria against.
  • criteria - The criteria used to determine which cells to add.
  • sum_range - [optional] The cells to add together. If sum_range is omitted, the cells in range are added together instead.

Watch Video - Excel Formula Tutorial | All Excel Tutorial Videos

Replies (1)

Hi Babita, here's a clear summary of the Excel SUM, SUMIF, and SUMIFS functions, with examples for your quick reference:


1. SUM Function

Purpose: Add a range of numbers.

📌 Syntax:

 
=SUM(number1, [number2], ...)

🧮 Example:

 
=SUM(A1:A5)

Adds all values in cells A1 through A5.


2. SUMIF Function

Purpose: Adds values based on one condition.

📌 Syntax:

 
=SUMIF(range, criteria, [sum_range])
  • range – Range to evaluate for the condition

  • criteria – Condition (e.g., ">100", "Pen", ">=01-01-2024")

  • sum_range – Actual cells to sum (optional, defaults to range)

🧮 Example:

 
=SUMIF(A2:A10, ">100", B2:B10)

Adds values in B2:B10 where A2:A10 > 100


3. SUMIFS Function

Purpose: Adds values based on multiple conditions.

📌 Syntax:

 
=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

🧮 Example:

 
=SUMIFS(C2:C10, A2:A10, "North", B2:B10, ">1000")

Adds values in C2:C10 where:

  • A2:A10 = "North"

  • B2:B10 > 1000


Wildcards You Can Use (Text Criteria):

  • * → Matches any number of characters

  • ? → Matches a single character

🧮 Example:

 
=SUMIF(A2:A10, "Pen*", B2:B10)

Sums B2:B10 where A2:A10 starts with "Pen" (e.g., "Pen", "Pencil")



CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register