Formatting Issues

Highlight Dates for 15 Days After the Date in Excel

Khadija KhanKhadija Khan Nov 18, 2026 869 views

Question details

Highlight each date cell red for the 15 days following its date, but not on the date itself or earlier.

Highlight Dates for 15 Days After the Date in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains dates that need temporary highlighting after each date passes.
Observed behavior
Each cell should turn red from the day after its date through the fifteenth day afterward, then return to normal formatting.
Before you start

Check that the cells contain real Excel dates rather than text. Identify the first cell in the range so you can use its reference in the formula.

Solution 1Recommended

Create a 15-day conditional formatting rule in Excel

Use a formula-based rule to highlight each date cell during the 15 days after its date.

1
Select the date range

Select the cells containing dates, such as A2:A7. The formula below assumes A2 is the first cell in the selection.

2
Create a formula rule

Go to Home > Conditional Formatting > New Rule, then select Use a formula to determine which cells to format.

3
Enter the formula

Enter =AND(TODAY()>A2,TODAY()<=A2+15). If your range starts in a different cell, replace A2 with that first cell's reference.

4
Choose the red fill

Click Format, choose a red fill on the Fill tab, and click OK. Click OK again to create the rule.

5
Check the applied range

Open Home > Conditional Formatting > Manage Rules and confirm that Applies to covers your date range, such as =$A$2:$A$7.

Create a 15-day conditional formatting rule in Excel
How the date window works: The rule excludes the date itself, includes the next 15 days, and stops highlighting on day 16. TODAY() uses the current date and updates when the workbook recalculates.
WPS Spreadsheets

Highlight dates after they pass in WPS Spreadsheets

Use a formula-based conditional formatting rule in WPS Spreadsheets to mark date cells red for the 15 days following each date.

  1. 1. Open and select the dates: Open your workbook in WPS Spreadsheets and select the date cells, such as A2:A7.
  2. 2. Add a conditional formatting rule: On the Home tab, open Conditional Formatting, choose New Rule, and select the option to use a formula.
  3. 3. Enter the date formula: Enter =AND(TODAY()>A2,TODAY()<=A2+15), replacing A2 if the first selected cell is different.
  4. 4. Set the fill and apply: Choose a red fill in the formatting options and confirm the rule. Save the workbook when finished.
Highlight dates automatically during the 15-day windowOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and formatting toolsWork with a free, easy-to-use office suite
microsoft office alternative - wps office

Frequently Asked Questions

Does the rule highlight the date itself?

No. TODAY()>A2 becomes true only after the date in A2, so highlighting starts the following day.

What happens on the fifteenth and sixteenth days?

The cell is highlighted on day 15 because the formula includes TODAY()<=A2+15. It is no longer highlighted by this rule on day 16.

Why isn't a date cell changing color?

Check that the cell contains a real date, that the formula references the first cell in the selected range, and that the cell is within the rule's Applies to range in Home > Conditional Formatting > Manage Rules.

Will the highlighting update automatically each day?

The TODAY() function uses the current date when the workbook recalculates. If calculation is set to manual in Excel, use Formulas > Calculate Now or change Calculation Options to Automatic.