What is the function of function sum?
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!

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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

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

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics



This article will guide you through the process of creating a timeline for Excel pivot tables and charts and demonstrate how you can use it to interact with your data in a dynamic and engaging way. You've got your data organized in a pivo

Mastering Google Sheets Sorting: A Comprehensive Guide Sorting data in Google Sheets needn't be complex. This guide covers various techniques, from sorting entire sheets to specific ranges, by color, date, and multiple columns. Whether you're a novi

This tutorial demonstrates how to efficiently locate the top N values within a dataset and retrieve associated data using Excel formulas. Whether you need the highest, lowest, or those meeting specific criteria, this guide provides solutions. Findi

In this tutorial, you'll learn how to use regular expressions in Excel to find and extract substrings matching a given pattern. Microsoft Excel provides a number of functions to extract text from cells. Those functions can cope with most

This tutorial shows you how to add dropdown lists to your Outlook email templates, including multiple selections and database population. While Outlook doesn't directly support dropdowns, this guide provides creative workarounds. Email templates sav

This guide shows you two easy ways to enable email templates in Gmail: using Gmail's built-in settings or installing the Shared Email Templates for Gmail Chrome extension. Gmail templates are a huge time-saver for frequently sent emails, eliminating

Wouldn't it be convenient if you could compose an email now and have it sent at a later, more opportune time? With Outlook's scheduling feature, you can do just that! Imagine that you are working late at night, inspired by a brilliant ide

This tutorial explains how to use Excel's FV function to determine the future value of investments, encompassing both regular payments and lump-sum deposits. Effective financial planning hinges on understanding investment growth, and this guide prov
