Excel Formulas to Calculate the Days Before a Certain Date!!
Tags: excelformula, excelformulas
Published: 2021-05-13 10:29:20

---
title: Excel Formulas to Calculate the Days Before a Certain Date!!
published: true
date: 2021-05-13 06:13:23 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-calculate-the-days-before-a-certain-date/
---

While working with date-based data, you often get the need to count down the remaining days from one date to another date.  In this article, we are going to see how to **calculate the number of days before a certain date in Excel**. Let’s step 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)

[![Get days before a date](https://geekexcel.com/wp-content/uploads/2021/05/Get-days-before-a-date.png)](https://geekexcel.com/excel-formulas-to-calculate-the-days-before-a-certain-date/get-days-before-a-date/#main)<figcaption id="caption-attachment-41374">Get days before a date</figcaption>

## Generic Formula:

- To get the days before a given date in Excel, you can use the below formula.

**For Today** **=date-[TODAY](https://geekexcel.com/how-to-use-excel-today-function-in-office-365-simple-steps/)()**

**Without Today Function**  **= date1 – date 2**

**With Text **** =”Just “& date 1- date 2 &” days left!”**

## Syntax Explanations:

- **TODAY** – This function helps you to get the current date on your workbook. Read more on the [**TODAY function**](https://geekexcel.com/how-to-use-excel-today-function-in-office-365-simple-steps/).
- **Date**  – It represents the input range from your worksheet.
- **Minus Operator (-)** – This symbol will help to subtract any two values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Let’s consider the below example image.

- First, we will enter the input values in **Column B** and **Column C**.
- Here we need to calculate the number of days before the given date.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/05/Input-Ranges-24.png)<figcaption id="caption-attachment-41365">Input Ranges</figcaption>

- Select any cell and type the above-given formula based on your criteria.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/05/Enter-the-formula-41.png)<figcaption id="caption-attachment-41368">Enter the formula</figcaption>

- Finally, press  **ENTER** to get the result out.

![Result](https://geekexcel.com/wp-content/uploads/2021/05/Result-39.png)<figcaption id="caption-attachment-41367">Result</figcaption>

## Verdict:

Hope you like this article on how to **calculate the number of days before a certain date****  in Excel **. Let me know if you have any ** doubts** regarding this article or any other Excel/VBA topic.

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Related Articles:

- **[Excel Formulas to Create Date Range From Two Dates ~ Quick Tricks!!](https://geekexcel.com/excel-formulas-to-create-date-range-from-two-dates-quick-tricks/)**
- **[Enter the Date in Excel Sheet ~ Step-by-Step Procedure!!](https://geekexcel.com/enter-the-date-excel/)**
- **[Excel Formulas to Calculate Expiration Date ~ Simple Tutorial!!](https://geekexcel.com/excel-formulas-to-calculate-expiration-date/)**
- **[Excel Formulas to Count Dates in Current Month ~ Simple Tutorial!!](https://geekexcel.com/excel-formulas-to-count-dates-in-current-month-simple-tutorial/)**