This tutorial will demonstrate how to highlight cells with dates that are overdue (earlier than the current date) in Excel and Google Sheets.
Highlight Overdue Dates
Excel’s Conditional Formatting feature has many applications, one of them being that it can highlight dates before or after a certain date. You may want to do this to visually emphasize projects that are running late. Start with a list of projects and dates like the one below.
- Select the range you want to apply formatting to.
- In the Ribbon, select Home > Conditional Formatting > New Rule.
- Select Use a formula to determine which cells to format, and enter the formula:
The TODAY Function returns the current date. That means the formula, and therefore formatting, is dynamic and will change depending on when the file is open.
- Click Format.
- For this example, the overdue dates should stand out, so set a red fill color as the format for those cells.
- Click OK, then OK again to return to the Conditional Formatting Rules Manager.
- Click Apply to apply the formatting to your selected range and click Close.
This formula entered will return TRUE when the due date is greater than today’s date and will format those cells accordingly.
Highlight Overdue Dates in Google Sheets
You can also use the TODAY Function in Google Sheets.
- Highlight your range.
- Type in the formula
- Apply your Format Style.
- Click Done.