Excel Formulas to Calculate the Average of Last N Values!!
Tags: excelformula, excelformulas
Published: 2020-12-05 11:47:27

---
title: Excel Formulas to Calculate the Average of Last N Values!!
published: true
date: 2020-12-05 09:07:49 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-calculate-the-average-of-last-n-values/
---

This page will show the simple **formulas used to calculate the Average of last N values 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 calculate the average of last N values](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/12/Formulas-to-calculate-the-average-of-last-N-values.png)](https://geekexcel.com/excel-formulas-to-calculate-the-average-of-last-n-values/formulas-to-calculate-the-average-of-last-n-values/#main)<figcaption id="caption-attachment-18739">Formulas to calculate the average of last N values</figcaption>
## General Formula:

- Use the below image to calculate the average of the last N values in Excel.

**=[AVERAGE](https://geekexcel.com/how-to-use-excel-average-function-in-office-365-with-examples/)([OFFSET](https://geekexcel.com/use-offset-function-in-microsoft-excel-365/)(A1,[COUNT](https://geekexcel.com/how-to-use-excel-count-function-in-office-365-with-examples/)(A:A),0,-N))**

## Syntax Explanations:

- **AVERAGE** – This function returns the arithmetic mean of given input numbers. Read more on the [**AVERAGE Function**](https://geekexcel.com/how-to-use-excel-average-function-in-office-365-with-examples/).
- **OFFSET** – In Excel, this function will return a reference to a range constructed in parts which is a starting point, a row, and column offset, and a final height and width in rows and columns. Read more on the [**OFFSET Function**](https://geekexcel.com/use-offset-function-in-microsoft-excel-365/).
- **COUNT** –  The Excel **[COUNT Function](https://geekexcel.com/how-to-use-excel-count-function-in-office-365-with-examples/)** will count the number of cells that contain numbers and returns the output in number.
- **Range** – It represents the input value from your 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.

## Example:

- In the below example image, we will give the input values in **Column C**.
- Then, enter the given formula in the formula bar section.
- Finally, we will get the result in **cell F3**.

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

## Conclusion:

Here, we explained you to learn the simple **formulas used to calculate the last N values in Excel Office 365**. Hope that this article is useful to you. If you have any **doubts/queries,** feel free to share it with us. To know further updates keep in touch with our website **[Geek Excel](https://geekexcel.com/)** and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Ahead:

- **[Excel Formulas to Count the Cells that do not contain many Strings!!](https://geekexcel.com/excel-formulas-to-count-cells-do-not-contain-many-strings/)**
- **[Excel Formulas to Sum the values that Equal to One of Many Things!!](https://geekexcel.com/excel-formulas-to-sum-the-values-that-equal-to-one-of-many-things/)**
- **[Formulas to Count the Rows that contain at least N Matching Values!!](https://geekexcel.com/formulas-to-count-the-rows-that-contain-at-least-n-matching-values/)**
- [**Excel Formulas for Counting Cells that do not contain certain text!!**](https://geekexcel.com/excel-formulas-for-counting-cells-that-do-not-contain-certain-text/)