Excel tutorial
/

Functions

Beginner

Excel SUM function: adding numbers, AutoSum and common traps

How to total a column, a row and several ranges with SUM in Excel: AutoSum and Alt+=, running totals, and the numbers-stored-as-text trap — with examples.

SUM is the most used function in Excel. It adds up every number in the cells you give it: daily sales, the monthly payroll, the value of stock in a warehouse.

Why not =B2+B3+B4+B5+B6? You can’t add 500 rows by hand, a single text cell in a + chain returns #VALUE!, while SUM simply skips it. And if you insert a row inside the range, SUM picks it up automatically.

Книга1 - Excel
—☐✕
B7fx=СУММ(B2:B6)
ABCD
1ProductSales
2Bread480 000
3Milk1 250 000
4Rice2 340 000
5Oil1 870 000
6Sugar960 000
7Total6 900 000
8
Готово
=СУММ(B2:B6) in B7 adds up sales of five products: 6,900,000 soums

Syntax

=СУММ(number1; [number2]; ...)

  • number1 — required: a number, a cell (B2) or a range (B2:B6).
  • number2, ... — optional: up to 254 more numbers, cells or ranges, separated by commas.

Text, empty cells and TRUE/FALSE inside a range are ignored — only numbers are added. In some regional versions of Excel the separator is a semicolon: =СУММ(B2:B6;D2:D6).

Example

ABC
1BranchJanuaryFebruary
2Tashkent1200000014500000
3Samarkand83000009100000

Formula:

=SUM(B2:C3)

→ result: 43,900,000 — two branches over two months

Entering SUM — 3 ways

1

AutoSum (fastest). Select the empty cell below the column (B7) and click Автосумма on the Главная tab, or press Alt + =. Excel finds the numbers above and shows them with a moving border.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
B7fx=СУММ(B2:B6)
ABCD
1ProductSales
2Bread480 000
3Milk1 250 000
4Rice2 340 000
5Oil1 870 000
6Sugar960 000
7Total6 900 0001
8
ГотовоСреднее: 1380000Количество: 5Сумма: 6900000
After Alt+= Excel picked B2:B6 on its own — confirm with Enter

2

Check that the border covers the right range. If not, select the correct cells with the mouse and press Enter.

3

From the Formulas tab. Формулы → Математические → SUM. In the Function Arguments window type the range into Number1 — the result appears at the bottom of the window right away.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить функциюАвтосуммаФинансовыеЛогическиеТекстовыеДата и времяСсылки и массивыМатематические
Библиотека функций
Диспетчер имён
Определённые имена
B7fx
ABCD
1ProductSales
2Bread480 000
3Milk1 250 000
4Rice2 340 000
5Oil1 870 000
6Sugar960 000
7Total
8
Готово

4

By typing. Type =СУММ( into the cell, select B2:B6 with the mouse, close the bracket and press Enter. Even if you forget the closing bracket, Excel adds it for you.

Книга1 - Excel
—☐✕
D5fx=СУММ(D2:D4)
ABCDE
1EmployeeSalaryBonusTotal
2Aziz6 500 000800 0007 300 000
3Dilnoza7 200 0001 100 0008 300 000
4Javohir5 800 000600 0006 400 000
5Payroll19 500 0002 500 00022 000 000
6
ГотовоСреднее: 7333333,3333Количество: 12Сумма: 88000000
Example 1: row and column totals. Select B2:D5 and press Alt+= — all totals appear at once
Книга1 - Excel
—☐✕
C4fx=СУММ($B$2:B4)
ABCD
1DayIncomeRunning total
201.01.20261 500 0001 500 000
302.01.20262 300 0003 800 000
403.01.2026900 0004 700 0002
504.01.20263 100 0007 800 000
605.01.20261 750 0009 550 000
7
Готово
Example 2: running total. $B$2 is locked while B4 moves as you fill down — each row sums from the start to that day
Книга1 - Excel
—☐✕
B7fx=СУММ(B2:B4;D2:D4)
ABCDE
1ProductQtyPriceReturned
2Tea4018 0003
3Coffee2565 0001
4Sugar6014 0005
5
6Tea + Sugar100
7Two columns134
8
Готово
Example 3: several ranges separated by commas — =СУММ(B2:B4;D2:D4) adds two columns together (125 + 9 = 134), while =СУММ(B2;B4) adds just two chosen cells (100)

Pro level: beyond plain SUM

  • Whole column: =СУММ(B:B) includes new rows too. Just don’t put the formula in that same column.
  • With a condition: for “Tashkent only” or “only above 1 million” use =СУММЕСЛИ(A2:A10;"Tashkent";B2:B10), not SUM.
  • Quantity × price in one formula: =СУММПРОИЗВ(B2:B4;C2:C4) multiplies each row and adds the results — no helper column.
  • Several sheets: =СУММ(January:March!B7) adds B7 on the January, February and March sheets (a 3D sum).
  • Accounting precision: =ОКРУГЛ(СУММ(B2:B6);0) rounds the total to whole soums so the displayed and stored values match.
Книга1 - Excel
—☐✕
B5fx=СУММПРОИЗВ(B2:B4;C2:C4)
ABCD
1ProductQtyPrice
2Tea4018 000
3Coffee2565 000
4Sugar6014 000
5Grand total3 185 000
6
Готово
=СУММПРОИЗВ(B2:B4;C2:C4) = 40×18,000 + 25×65,000 + 60×14,000 = 3,185,000 — no helper column

Try it in the simulator

Type =СУММ(B2:B6) in B7 and press Enter. Then select C7 and add the second column’s total with Alt + = or Автосумма. Results: 6,900,000 and 7,450,000.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1ProductJanuaryFebruary
2Bread480000520000
3Milk12500001300000
4Rice23400002500000
5Oil18700002010000
6Sugar9600001120000
7Total
8
9
10
11
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

68 / 154