How do I apply conditional formatting in Excel to highlight dates that are before today? 2

How do I apply conditional formatting in Excel to highlight dates that are before today?

Conditional formatting is a feature in Microsoft Excel that allows users to automatically format cells based on specific criteria. In order to highlight dates that are before the current date, users can apply conditional formatting by selecting the cells containing the dates and setting up a rule using the Highlight Cells Rules” option. This rule can be set to highlight cells that are less than the current date, thus identifying and drawing attention to any dates that fall before the current day. This simple yet effective method helps users to easily identify and manage important dates in their Excel spreadsheets.

Excel: Conditional Formatting If Date is Before Today


To apply conditional formatting to cells in Excel that have a date before today, you can use the New Rule option under the Conditional Formatting dropdown menu within the Home tab.

The following example shows how to use this option in practice.

Example: Apply Conditional Formatting to Cells if Date is Before Today

Suppose we have the following dataset in Excel that shows the date that various people applied for some position:

 

This article is being written on 5/7/2023.

Suppose we would like to apply conditional formatting to any date that is before today.

To do so, we can highlight the cells in the range B2:B11, then click the Conditional Formatting dropdown menu on the Home tab and then click New Rule:

In the new window that appears, click Use a formula to determine which cells to format, then type =B2<TODAY() in the box, then click the Format button and choose a fill color to use.

Excel conditional formatting if date is before today

Once we press OK, all of the cells in the range B2:B11 that have a date before today (5/7/2023) will be highlighted:

Note: We chose to use a light green fill for the conditional formatting in this example, but you can choose any color and style you’d like for the conditional formatting.

Cite this article

stats writer (2024). How do I apply conditional formatting in Excel to highlight dates that are before today?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-do-i-apply-conditional-formatting-in-excel-to-highlight-dates-that-are-before-today/

stats writer. "How do I apply conditional formatting in Excel to highlight dates that are before today?." PSYCHOLOGICAL SCALES, 23 Jun. 2024, https://scales.arabpsychology.com/stats/how-do-i-apply-conditional-formatting-in-excel-to-highlight-dates-that-are-before-today/.

stats writer. "How do I apply conditional formatting in Excel to highlight dates that are before today?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-do-i-apply-conditional-formatting-in-excel-to-highlight-dates-that-are-before-today/.

stats writer (2024) 'How do I apply conditional formatting in Excel to highlight dates that are before today?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-do-i-apply-conditional-formatting-in-excel-to-highlight-dates-that-are-before-today/.

[1] stats writer, "How do I apply conditional formatting in Excel to highlight dates that are before today?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How do I apply conditional formatting in Excel to highlight dates that are before today?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top