How can I apply conditional formatting in Excel based on the date in another cell? 2

How can I apply conditional formatting in Excel based on the date in another cell?

Conditional formatting is a feature in Microsoft Excel that allows users to apply formatting rules to their data based on certain conditions. One of the conditions that can be used is the date in another cell. This means that the formatting will be applied to a cell if the date in a specified cell meets the criteria set by the user. This feature is helpful for organizing and highlighting data based on specific dates, making it easier to analyze and interpret the information. By using conditional formatting, users can efficiently manage and present their data in a visually appealing and organized manner.

Excel: Apply Conditional Formatting Based on Date in Another Cell


To apply conditional formatting to cells in Excel based on the date in another cell, 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 Based on Date in Another Cell

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

Suppose the cutoff date for the application was 10/15/2022 and we would like to apply conditional formatting to any date that is after this cutoff date.

First, we can type this date in cell E1:

Next, 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>$E$1 in the box, then click the Format button and choose a fill color to use.

Once we press OK, all of the cells in the range B2:B11 that have a date after 10/15/2022 will be highlighted:

Excel conditional formatting based on date in another cell

If you change the cutoff date in cell E1, then the conditional formatting rule will automatically update.

For example, suppose we change the cutoff date to 1/5/2023.

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.

The following tutorials explain how to perform other common tasks in Excel:

Cite this article

stats writer (2024). How can I apply conditional formatting in Excel based on the date in another cell?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-based-on-the-date-in-another-cell/

stats writer. "How can I apply conditional formatting in Excel based on the date in another cell?." PSYCHOLOGICAL SCALES, 25 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-based-on-the-date-in-another-cell/.

stats writer. "How can I apply conditional formatting in Excel based on the date in another cell?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-based-on-the-date-in-another-cell/.

stats writer (2024) 'How can I apply conditional formatting in Excel based on the date in another cell?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-excel-based-on-the-date-in-another-cell/.

[1] stats writer, "How can I apply conditional formatting in Excel based on the date in another cell?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I apply conditional formatting in Excel based on the date in another cell?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

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