Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Remove Duplicates In Excel Column Or Row?
  • Excel Pie Chart
  • How to combine 2 or more chart types in a single chart in Excel
  • Add Outline to Data in Excel
  • How to Use Solver Tool in Excel

References

  • Left Lookup in Excel
  • How to use Excel MATCH Function
  • Excel Advanced Lookup using Index and Match Functions
  • Basic INDEX MATCH approximate in Excel
  • How to get relative column numbers in a range in Excel

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation date in specific year
  • Excel Data validation must not contain
  • Excel Data validation exists in list
  • Excel Data validation with conditional list

Sum if cells are equal to in Excel

by

This tutorial shows how to Sum if cells are equal to in Excel using the example below;

In the example shown, we are summing all sales in the West region.

Explanation

If you need to sum numbers based on other cells being equal to a certain value, you can easily do with either the SUMIF or SUMIFS function.

Worked Example:   Sum if not blank in Excel

The formula in cell H6 is:

=SUMIF(region,"West",amount)

The formula in cell H7 is:

=SUMIFS(amount,region,"West")

Both formulas refer to the named ranges region (C5:C30) and amount (E5:E30).

Worked Example:   Count and Sum Functions in Excel

How these formulas work

Both formulas use built-in functions to calculate a subtotal, but the syntax used by SUMIF and SUMIFS is slightly different:

SUMIF(range,criteria,sum_range)
SUMIFS(sum_range,range,criteria)

In both cases, note that the region “West” must be enclosed in double quotes, since it is a text value.

Worked Example:   IF with boolean logic in Excel

Whether you use SUMIF or SUMIFS (which can handle more than one criteria) is a matter of personal preference. SUMIFS was introduced with Excel 2007, so it’s been around now for a long time.

Post navigation

Previous Post:

44 Practical Excel IF function Examples

Next Post:

Large with criteria in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • How to use Excel XOR Function
  • How to use IFS function in Excel

Date Time

  • Get date from day number in Excel
  • Add business days to date in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Display Date is same month in Excel

Grouping

  • Categorize text with keywords in Excel
  • Calculate conditional mode with criteria in Excel
  • If cell contains one of many things in Excel
  • Group arbitrary text values in Excel
  • Group times into unequal buckets in Excel

General

  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • Basic text sort formula in Excel
  • Currency vs Accounting Format in Excel
  • Excel Ribbon Quick Overview For Beginners
  • Count cells that contain errors in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning