Basics · SUM
SUM formula in Excel - add up cells, rows and columns
SUM adds numbers: a range (D2:D51), single cells (D2,D4,D6) or whole columns.
=SUM(number1, [number2], ...)Write it for my sheet
Examples
| Type this in the Formula Studio | Formula |
|---|---|
| “sum of D2 to D51” | =SUM(D2:D51) |
| “total of this row” | =SUM(D2:H2) |
| “D2 se H2 tak jod do” | =SUM(D2:H2) |
| “sum of column D” | =SUM($D$2:$D$51) |
| “kindly do the total of D2 to H2” | =SUM(D2:H2) |
Tips
- SUM ignores text, so a header in the range does no harm.
- Use "row total" in the studio to add a row's figure columns and skip codes and names.
People also search for
FAQ
Why does my SUM formula show 0?
The numbers are probably stored as text. Convert them (Data > Text to Columns, or Paste Special > Multiply by 1) and SUM will add them.
What is the shortcut for AutoSum?
Select the cell below or right of the numbers and press Alt + = in Excel for Windows. Excel inserts =SUM() over the adjacent range.
Why does my SUM show 0?
The numbers are stored as text. Convert them (Data > Text to Columns, or multiply by 1) and SUM will add them.
Can LoveByPDF write this formula for me?
Yes. Open your Excel file in the Excel Agent's Formula Studio, click a cell and type what you need - e.g. "sum of D2 to D51" - you get the formula, a preview on your sheet and an explanation, then insert it.
Related formulas
- AVERAGEAVERAGE formula in Excel - the mean of a range
- COUNT, COUNTA, COUNTBLANKCOUNT vs COUNTA vs COUNTBLANK - counting cells in Excel
- MAX, MINMAX and MIN in Excel - highest and lowest value
- ROUND, ROUNDUP, ROUNDDOWNROUND in Excel - decimals, nearest 100 or 1000
- Percentage formulasPercentage formulas in Excel - % of, % change, share of total
- MIN, MAX"Whichever is lower / higher" in Excel - MIN and MAX of two values
- IFIF formula in Excel - with examples in plain words
- IF (nested), AND, ORNested IF and IF with AND / OR in Excel
- IFERRORIFERROR in Excel - hide #DIV/0!, #N/A and other errors