Excel Formulas to Sum the Last N days from Current date!!
Tags: excelformula, excelformulas
Published: 2020-12-03 09:59:26

---
title: Excel Formulas to Sum the Last N days from Current date!!
published: true
date: 2020-12-03 09:18:42 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-sum-the-last-n-days-from-current-date/
---

In this tutorial, we will explain the simple **formulas used to sum the values from the last N days from current date in Excel Office 365**. Let’s get into this article!! 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 by last N days](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/12/EXCEL_vuwpeb7APL.png)](https://geekexcel.com/?attachment_id=18576#main)<figcaption id="caption-attachment-18576">Formulas to sum by last N days</figcaption>
## General Formula:

- Use the below formula to sum the values from the last n days by ID.

**=SUMIFS(Values,dates,”>=”& [TODAY](https://geekexcel.com/how-to-use-today-function-in-excel-365/)()-N,ids,id)**

## Syntax Explanations:

- **SUMIFS** – In Excel, the SUMIFS Function will help to sum the cells that meet multiple conditions or criteria.
- **TODAY** – This function will return the current date. Read more on the [**TODAY Function**](https://geekexcel.com/how-to-use-today-function-in-excel-365/).
- **Dates** – It represents the input date given in the worksheet.
- **Values** – It is the input values from 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.
- **Operator (>=)** – This symbol will help to find the value that is greater than a specific number.

## Example:

- Now we are going to see how to sum the last N days from the current date.
- Refer to the below example.
- Here, we will give the input values in **Column B** , **Column C** and **Column D**.
- Then, enter the given formula in the formula bar section.
- Finally, it shows the result in **cell G2**.

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

## Summary:

Here, we have described the simple **formulas used to sum the values from the last N days in Excel Office 365**. Hope that this article is useful to you. If you have any **doubts/queries,** kindly share it in the below comment box. 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 that are Greater than Certain Value!!](https://geekexcel.com/excel-formulas-to-sum-the-values-that-are-greater-than-certain-value/)**
- **[Excel Formulas to Sum the values by Month Ignore the year!!](https://geekexcel.com/excel-formulas-to-sum-the-values-by-month-ignore-the-year/)**
- **[Formulas to Count Unique Text Values with Criteria in Excel!!](https://geekexcel.com/wp-admin/post.php?post=17432&action=edit)**