Excel Formulas to Calculate the Last N Numeric Values!!!
Tags: excelformula, excelformulas
Published: 2020-12-07 10:54:26

---
title: Excel Formulas to Calculate the Last N Numeric Values!!!
published: true
date: 2020-12-07 10:02:55 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-calculate-the-last-n-numeric-values/
---

In this guide, we will discuss the simple **formulas used for calculating the last N numeric values in Excel Office 365**. Let’s see them below!! 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 Numeric values](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/12/MAIN.png)](https://geekexcel.com/?attachment_id=18869#main)<figcaption id="caption-attachment-18869">Formulas to calculate the average of last N Numeric values</figcaption>
## General Formula:

- To get the average of the last N numeric values in Excel, use the below formula.

**=[AVERAGE](https://geekexcel.com/how-to-use-excel-average-function-in-office-365-with-examples/)([LOOKUP](https://geekexcel.com/use-lookup-function-in-microsoft-excel-365-simple-methods/)([LARGE](https://geekexcel.com/how-to-use-excel-large-function-in-office-365-with-examples/)([IF](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)([ISNUMBER](https://geekexcel.com/how-to-use-isnumber-function-in-microsoft-excel-365/)(data),[ROW](https://geekexcel.com/row-function-in-microsoft-excel-365-how-to-use/)(data)),{1,2,N}), ROW(data), data))**

## Syntax Explanations:

- **AVERAGE** – In Excel, the [**AVERAGE Function**](https://geekexcel.com/how-to-use-excel-average-function-in-office-365-with-examples/)will help to return the arithmetic mean of given input numbers.
- **LOOKUP** – The [**LOOKUP Function**](https://geekexcel.com/use-lookup-function-in-microsoft-excel-365-simple-methods/) in Excel performs an approximate match lookup in a one-column or one-row range and returns the corresponding value from another one-column or one-row range
- **LARGE** – This function returns the N<sup>th</sup> largest value from the given range of data. Read more on the [**LARGE Function**](https://geekexcel.com/how-to-use-excel-large-function-in-office-365-with-examples/).
- **IF** – It will return one value for a TRUE result, and another for a FALSE result. It is a logical test combined with logical functions like AND and OR. Read more on the [**IF Function**](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/).
- **ISNUMBER** – The [**ISNUMBER**   **function**](https://geekexcel.com/how-to-use-isnumber-function-in-microsoft-excel-365/) returns TRUE when a cell contains a number, and FALSE if there will not be a number.
- **ROW** – The **[ROW function](https://geekexcel.com/row-function-in-microsoft-excel-365-how-to-use/)** returns the row number for reference.
- **Date** – 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 image, we will give the input values in **Column B**.
- Then, enter the below formula in the formula bar section.
- After that, **Press (CTRL+SHIFT+ENTER) Keys**.
- Finally, we will get the result in **cell D3**.

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

### Note:

- It will **ignore the text** from the input range.
- It allows only numerical values.

## Summary:

In this tutorial, you can get to know the simple **formulas used to calculate the average of the last N numeric values in Excel Office 365**. Hope that this article is useful to you. If you have any **suggestions,** don’t forget 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/) **!!**

### Related Articles:

- **[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 to Count Visible Rows Only with Criteria!!](https://geekexcel.com/excel-formulas-to-count-visible-rows-only-with-criteria/)**
- **[Excel Formulas to Calculate the Average of Last N Values!!](https://geekexcel.com/excel-formulas-to-calculate-the-average-of-last-n-values/)**
- [**Formulas to Count the Cells contains Not Equal to a Particular Value!!**](https://geekexcel.com/formulas-to-count-the-cells-contains-not-equal-to-a-particular-value/)