---
title: "SUM function in Excel: syntax and examples | PracticeExcel"
description: "How to use SUM in Excel and Google Sheets: syntax, examples and a live drill to add up a column."
canonical_url: "https://practiceexcelonline.com/functions/sum"
locale: en
meta:
  "og:description": "How to use SUM in Excel and Google Sheets: syntax, examples and a live drill to add up a column."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1VNIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBTVU0gaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHN5bnRheCwgZXhhbXBsZXMgYW5kIGEgbGl2ZSBkcmlsbCB0byBhZGQgdXAgYSBjb2x1bW4u%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~U1VNKG51bWJlcjEsIFtudW1iZXIyXSwgLi4uKQ%2Cp_Ii9mdW5jdGlvbnMvc3VtIg%2Cs_OfYCBa4bY5sSOWGE.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "SUM function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1VNIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBTVU0gaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHN5bnRheCwgZXhhbXBsZXMgYW5kIGEgbGl2ZSBkcmlsbCB0byBhZGQgdXAgYSBjb2x1bW4u%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~U1VNKG51bWJlcjEsIFtudW1iZXIyXSwgLi4uKQ%2Cp_Ii9mdW5jdGlvbnMvc3VtIg%2Cs_OfYCBa4bY5sSOWGE.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The SUM function**

Adds numbers, cell references and ranges. Text and blank cells in a range are ignored.

=

SUM(

## **Syntax**

```
SUM(number1, [number2], ...)
```

<dl><dt>**number1 **</dt>
<dd>The first number, cell or range to add.</dd>
<dt>**number2 **(optional)</dt>
<dd>More numbers or ranges, up to 255 in all.</dd></dl>

## **Examples**

E1=SUM(C2:C6)

|  | A | B | C | D | E |
| --- | --- | --- | --- | --- | --- |
| 1 | Region | Product | Sales |  | **1650** |
| 2 | North | Shoes | 500 |  | |
| 3 | South | Shoes | 300 |  | |
| 4 | North | Bags | 250 |  | |
| 5 | North | Shoes | 420 |  | |
| 6 | South | Bags | 180 |  | |

E1`=SUM(<sup>1</sup>C2:C3,<sup>2</sup>C5)`

|  | A | B | C | D | E |
| --- | --- | --- | --- | --- | --- |
| 1 | Region | Product | Sales |  | **1220** |
| 2 | North | Shoes | 500 |  | |
| 3 | South | Shoes | 300 |  | |
| 4 | North | Bags | 250 |  | |
| 5 | North | Shoes | 420 |  | |
| 6 | South | Bags | 180 |  | |

**In plain words:** Add up <sup>1</sup>the sales in C2:C3 and <sup>2</sup>the sales in C5.

## **Practice SUM**

- [**1****Add up a column with SUM**→](https://practiceexcelonline.com/practice/sum/sum-a-column)
- [**2****SUM a block of cells**→](https://practiceexcelonline.com/practice/sum/sum-a-block-of-cells)
- [**3****SUM two separate ranges**→](https://practiceexcelonline.com/practice/sum/sum-separate-ranges)
- [**4****A running total with a growing range**→](https://practiceexcelonline.com/practice/absolute-references/running-total)
- [**5****SUM skips text that + can't**→](https://practiceexcelonline.com/practice/sum/sum-ignores-text)

## **Read the guide**

- [**Free Excel course online: learn Excel from your first formula to job-ready**](https://practiceexcelonline.com/learn/how-to-learn-excel)
- [**Pivot tables explained, and the formulas that do the same job**](https://practiceexcelonline.com/learn/pivot-tables)
- [**Excel keyboard shortcuts worth learning, and how to make them stick**](https://practiceexcelonline.com/learn/excel-keyboard-shortcuts)
- [**How to create a drop-down list in Excel, and make it update itself**](https://practiceexcelonline.com/learn/drop-down-list-excel)
- [**How to lock cells in Excel: freeze rows, protect cells and lock formulas**](https://practiceexcelonline.com/learn/lock-cells-excel)

## **Questions**

<details>

<summary>

### What is the shortcut for SUM in Excel?

</summary>

Alt+= (Cmd+Shift+T on a Mac) inserts AutoSum, which writes =SUM() around the numbers above or to the left.

</details>

## **Related functions**

- [**SUMIF**](https://practiceexcelonline.com/functions/sumif)
- [**SUMIFS**](https://practiceexcelonline.com/functions/sumifs)
- [**SUMPRODUCT**](https://practiceexcelonline.com/functions/sumproduct)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/sum#webpage","description":"How to use SUM in Excel and Google Sheets: syntax, examples and a live drill to add up a column.","name":"SUM function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/sum","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/functions/sum#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/functions/sum#/schema/question/1"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/sum"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/sum#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"SUM function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/sum#article","description":"How to use SUM in Excel and Google Sheets: syntax, examples and a live drill to add up a column.","headline":"SUM function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1VNIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBTVU0gaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHN5bnRheCwgZXhhbXBsZXMgYW5kIGEgbGl2ZSBkcmlsbCB0byBhZGQgdXAgYSBjb2x1bW4u%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~U1VNKG51bWJlcjEsIFtudW1iZXIyXSwgLi4uKQ%2Cp_Ii9mdW5jdGlvbnMvc3VtIg%2Cs_OfYCBa4bY5sSOWGE.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/sum#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/sum#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/functions/sum#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"What is the shortcut for SUM in Excel?","acceptedAnswer":{"@type":"Answer","text":"Alt+= (Cmd+Shift+T on a Mac) inserts AutoSum, which writes =SUM() around the numbers above or to the left."}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1VNIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBTVU0gaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHN5bnRheCwgZXhhbXBsZXMgYW5kIGEgbGl2ZSBkcmlsbCB0byBhZGQgdXAgYSBjb2x1bW4u%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~U1VNKG51bWJlcjEsIFtudW1iZXIyXSwgLi4uKQ%2Cp_Ii9mdW5jdGlvbnMvc3VtIg%2Cs_OfYCBa4bY5sSOWGE.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1VNIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBTVU0gaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHN5bnRheCwgZXhhbXBsZXMgYW5kIGEgbGl2ZSBkcmlsbCB0byBhZGQgdXAgYSBjb2x1bW4u%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~U1VNKG51bWJlcjEsIFtudW1iZXIyXSwgLi4uKQ%2Cp_Ii9mdW5jdGlvbnMvc3VtIg%2Cs_OfYCBa4bY5sSOWGE.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
