Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

The SUM Function (Sums) in Excel: Syntax, Examples, and Tips

Explore The SUM Function (Sums) in Excel with a clear summary of the key facts, context, and practical details readers should know.

Table of Contents

This article provides a clear overview of The SUM Function (Sums) in Excel, with the main facts, useful context, and practical details organized for easy reading.

The article details instructions on how to use the SUM and SUMIF functions to calculate totals in Excel spreadsheets.

1. the SUM Function.

Description

The SUM function helps you to sum arguments. Arguments can be a range, cell reference, formula, etc.

Syntax

SUM (number1, [number2],.)

Where: number1, number2 are the arguments to be calculated, the maximum number of arguments is 255.

Important Notes

- The cell has the value TRUE is 1, FALSE is 0.

- If an argument is an array or reference, only numerical values are counted. Any other values in the array or reference are ignored.

For example, for the following table, ask to calculate the total salary of all employees.

The SUM Function (Sums) in Excel — Important Notes screenshot 1

Use the SUM: = SUM function (F5: F11) .

The following results:

The SUM Function (Sums) in Excel — Important Notes screenshot 2

2. the SUMIF Function.

Description

The SUMIF function is a conditional sum function, you can sum arguments according to a given condition.

To sum cells based on multiple conditions, you can use the SUMIF function.

Syntax

= SUMIF (range, criteria, [sum_range])

Arguments

- range: the container containing the evaluation condition. Cells in the range must be numbers or names, arrays, or references that contain numbers, blank values, and ignored text values.

- criteria: conditions for range. Conditions of text, logical symbols, maths must be enclosed in quotation marks and numerical conditions are not needed.

- sum_range: the area to sum based on conditions. If you sum the cells in the range then sum_range you can ignore.

Example

For the following data sheet, request:

- Calculate the sum of all Wages provided that the Salary is> 5500.

- Calculate the sum of all Wages provided that the gender is Female.

The SUM Function (Sums) in Excel — Example screenshot 3

Request 1: Use the SUMIF function : = SUMIF (F5: F11, "> 5500") .

The following results:

The SUM Function (Sums) in Excel — Example screenshot 4

Request 2: Use the SUMIF: = SUMIF function (C5: C11, "Female", F5: F11) .

The following results:

The SUM Function (Sums) in Excel — Example screenshot 5

Very simple, you can use the SUM and SUMIF functions to sum. For each processing request you should use the function accordingly. Good luck!

FAQ

What is the main focus of The SUM Function (Sums) in Excel?

The article explains the most important facts, context, and practical details related to The SUM Function (Sums) in Excel.

Who may find this information useful?

It is useful for readers who want a clear overview, practical context, and a better understanding of the subject.

What should readers verify before taking action?

Check current product versions, official requirements, regional availability, and any details that may have changed since the original publication.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.