Excel Formulas to Apply Conditional Formatting Based on Past Due Dates!
Tags: excelformula, conditionalformattin, excelformulas
Published: 2021-03-11 11:53:38

---
title: Excel Formulas to Apply Conditional Formatting Based on Past Due Dates!
published: true
date: 2021-03-11 11:52:08 UTC
tags: ExcelFormula,Conditionalformattin,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-apply-conditional-formatting-based-on-past-due-dates/
---

Conditional formatting is an excellent tool to utilize in your Excel spreadsheets to visually indicate when a due date is upcoming or overdue. Let’s get into this article to know **how to apply the conditional formatting based on the past due dates in Excel**. 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)

[![Conditional Formatting based on past due date](https://geekexcel.com/wp-content/uploads/2021/03/Conditional-Formatting-based-on-past-due-date.png)](https://geekexcel.com/excel-formulas-to-apply-conditional-formatting-based-on-past-due-dates/conditional-formatting-based-on-past-due-date/#main)<figcaption id="caption-attachment-22420">Conditional Formatting based on the past due date</figcaption>
## General Formula:

- You can use the below formula and apply it in the conditional formatting option to format the past due date.

**=(date2-date1)>n**

## Syntax Explanations:

- **Date 1** – It represents the past date.
- **Date 2** – It represents the original date of the input.
- **N** – It is used to specify the date variants.
- **Comma symbol (,)** – It is a separator that helps to separate a list of 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** to **Column D**.
- Now we are going to **format the cells** in **Column D** based on the given **criteria** which are given in **Column F**.

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

- Apply the above-given formula in the conditional formatting option.
- To know **how to apply conditional formatting** in Excel, just **refer to this article<u>:</u>[How to Apply the Formula with Conditional Formatting In Excel?](https://geekexcel.com/how-to-apply-formula-with-conditional-formatting/)**
- Finally, we will get the results as per the below image.

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

## Conclusion:

Hope you understand how to apply the **conditional formatting based on the past due dates in Excel Office 365**. If you have any **suggestions/queries,** feel free to let me know. I reply to queries frequently. Thank you for visiting our site!! To learn more, check out **[Geek Excel](https://geekexcel.com/) **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Also:

- **[How to Highlight All Errors Using Macros (VBA) In Excel Office 365?](https://geekexcel.com/how-to-highlight-all-errors-using-macros-vba-in-excel-office-365/)**
- **[Excel Formulas to Calculate the Tax Rate with Fixed Base with IF Function!](https://geekexcel.com/excel-formulas-to-calculate-the-tax-rate-with-fixed-base-with-if-function/)**