The function of function sum is to return the sum of numbers, logical values and text expressions of numbers in a certain cell range. The SUM function is a mathematical and trigonometric function that adds values; its syntax is "SUM(num1,[num2],...)".
The SUM function refers to returning the sum of numbers, logical values and text expressions of numbers in a certain cell range. If the parameter contains an incorrect value or is text that cannot be converted to a number, an error will result.
The SUM function is a mathematical and trigonometric function that adds values. You can add individual values, cell references, or ranges, or a combination of all three.
(1)Syntax: SUM(num1,[num2],...)
num1 (required parameter) The first number to be added. The number can be a number, or a cell reference like A1 or a cell range like A2:A8 in Excel.
num2, this is the second number to be added.
(2) Description
1. Text expressions of logical values and numbers will be calculated;
2. If the parameter is an array or reference , only the numbers within will be calculated. Blank cells, logical values, and text in arrays or references will be ignored;
3. If there are wrong values in the parameters or text that cannot be converted into numbers, an error will occur.
Example:
(1)SUM(3, 2) is equal to 5;
(2)SUM("3", 2, TRUE ) is equal to 6 because the text value is converted to a number and the logical value "TRUE" is converted to the number 1.
Different from the previous example, if A1 contains "3" and B1 contains TRUE, then: SUM(A1, B1, 2) is equal to 2, because references to non-numeric values cannot be converted to numeric values.
If cells A2:E2 contain 5, 15, 30, 40 and 50, then: SUM(A2:C2) is equal to 50; SUM(B2:E2, 15) is equal to 155.
(3) Use SUM to calculate the balance
As long as the formula is entered in D3, the following format can be copied from the cell of D3:
The same applies to other data operations
Recommended tutorial: "excel tutorial"
The above is the detailed content of What is the function of function sum?. For more information, please follow other related articles on the PHP Chinese website!

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

Master Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han

This tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m

This tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo

This tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo

This tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi

This Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The

Unlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Notepad++7.3.1
Easy-to-use and free code editor

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)