Excel Formulas to Sum the Values from the Last N Columns!!
Tags: excelformula, excelformulas
Published: 2020-12-03 09:59:10

---
title: Excel Formulas to Sum the Values from the Last N Columns!!
published: true
date: 2020-12-03 09:17:43 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-sum-the-values-from-the-last-n-columns/
---

In this tutorial, we will describe the simple **formulas used to sum the values from the last N columns in Excel Office 365**. Let’s get started!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Formulas to sum the last N columns](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/12/Formulas-to-sum-the-last-N-columns.png)](https://geekexcel.com/excel-formulas-to-sum-the-values-from-the-last-n-columns/formulas-to-sum-the-last-n-columns/#main)<figcaption id="caption-attachment-18526">Formulas to sum the last N columns</figcaption>
## General Formula:

- Use the below formula to sum the values from the last N columns in Excel.

**=[SUM](https://geekexcel.com/sum-function/)([INDEX](https://geekexcel.com/index-function-in-microsoft-excel-365-how-to-use/)(data,0,[COLUMNS](https://geekexcel.com/steps-to-use-columns-function-in-microsoft-excel-365-simple-way/)(data)-(n-1)):INDEX(data,0,COLUMNS(data)))**

## Syntax Explanations:

- **SUM** -In Excel, the [**SUM Function**](https://geekexcel.com/sum-function/) adds values in the cells.
- **INDEX** – This function returns the value at a given position in a range or array. Read more on the **[INDEX Function](https://geekexcel.com/index-function-in-microsoft-excel-365-how-to-use/)**.
- **COLUMNS** – The Excel** [COLUMNS function](https://geekexcel.com/steps-to-use-columns-function-in-microsoft-excel-365-simple-way/)** helps to return the count of columns in a given reference.
- **Data** – It represents the input range given in the worksheet.
- **Comma symbol (,)** – It is a separator which helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.
- **Minus Operator (-)** – This symbol will help to subtract any two values.

## Example:

- Let’s consider the below image, to sum the last n columns.
- Here, we will give the input values from **Column C** to **Column G**.
- Then, enter the given formula in the formula bar section.
- Finally, we will get the result in **Cell J3**.

![Example](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/12/Example-11.png)<figcaption id="caption-attachment-18527">Example</figcaption>

## Closure:

From this tutorial, you can get some clarification on the **formulas used to sum the values from the last N columns in Excel Office 365**. Hope you like this article. If you have any **suggestions,** don’t forget to share it with us. Thank you so much for Reading!! Keep learning on **[Geek Excel](https://geekexcel.com/)!! **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Ahead:

- **[Excel Formulas to Sum the Values Between two Numbers!!](https://geekexcel.com/excel-formulas-to-sum-the-values-between-two-numbers/)**
- **[Formulas to Sum the values by month in Excel Office 365!!](https://geekexcel.com/formulas-to-sum-the-values-by-month-in-excel-office-365/)**
- [**Excel Formulas to Count Total Matches in Two Ranges!!**](https://geekexcel.com/excel-formulas-to-count-total-matches-in-two-ranges/)