Finance

Charts

Statistics

Macros

Search

How to use the SUMIFS function in Excel

The SUMIFS function adds cells that meet multiple specified conditions. These conditions can evaluate dates, numbers, and text values. The function supports logical operators (<, >, ≤, etc.) and wildcard characters (*, ?).

The SUMIFS function uses these arguments:
=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)

Sum_range: The range of cells to sum
Criteria_range1: The range where the first condition will be applied
Criteria1: The condition that determines which cells to include
Criteria_range2: (Optional) Additional range for second condition

USING THE SUMIFS FUNCTION

Let’s calculate the total quantity of Apples supplied by Pete:

  1. Select an empty cell
  2. Enter the formula:
    =SUMIFS(C2:C6, A2:A6, « apples », B2:B6, « Pete »)

    • C2:C6 contains quantities to sum
    • A2:A6 contains product names
    • « apples » is our product criteria
    • B2:B6 contains supplier names
    • « Pete » is our supplier criteria

  1. Press Enter to see the result: 180

IMPORTANT NOTES

  1. Always enclose text criteria in double quotes (e.g., « orange »)
  2. All criteria ranges must match the size of sum_range
  3. #VALUE! error appears when:
    • Ranges have different sizes
    • Cell references in criteria are incorrectly quoted
  4. SUMIFS works with cell ranges, not arrays
0 0 votes
Évaluation de l'article
S’abonner
Notification pour
guest
0 Commentaires
Le plus ancien
Le plus récent Le plus populaire
Online comments
Show all comments
Facebook
Twitter
LinkedIn
WhatsApp
Email
Print
0
We’d love to hear your thoughts — please leave a commentx