Formatting Issues

How to Highlight the Next Date After Today Using Conditional Formatting in Excel

Elise WilliamsElise Williams Oct 26, 2026 870 views

Question details

The user needs a conditional formatting rule to highlight the earliest upcoming date in a dataset when today's date is not present, without highlighting all subsequent future dates.

How to Conditionally Format the Next Available Date After Today in Excel
Product
Excel
Device & OS
not provided
Scenario
Managing a schedule or task list where the user wants to visually identify the immediate next relevant date when there are no entries for the current day.
Observed behavior
Standard conditional formatting for future dates highlights all dates greater than today, or requires complex nested IF statements. The user wants a dynamic way to pinpoint only the closest upcoming date.
Before you start

Ensure that the cells in your date column contain valid numerical Excel dates rather than plain text strings, otherwise the MINIFS and TODAY functions will not calculate properly.

Solution 1Recommended

Highlight All Rows Matching the Next Available Date

Use a formula combining AND, COUNTIF, MINIFS, and TODAY to find and highlight the closest upcoming date when today's date is absent from the dataset.

This formula checks if today's date is missing from your range. If it is missing, the MINIFS function evaluates the entire column to find the absolute smallest date that is strictly greater than today. This approach dynamically finds the next date whether it is tomorrow, next week, or next year, eliminating the need for nested IF statements.

1
Select the target range

Highlight the data range you want to apply the formatting to, for example, cells A3:B32.

2
Create a new rule

Navigate to the Home tab on the ribbon, click 'Conditional Formatting', and select 'New Rule'.

3
Choose the formula option

In the dialog box, select 'Use a formula to determine which cells to format'.

4
Input the formula

Enter the following formula: =AND(COUNTIF($A$3:$A$32,TODAY())=0,$A3=MINIFS($A$3:$A$32,$A$3:$A$32,">"&TODAY()))

5
Apply formatting

Click the 'Format' button, choose your desired fill color on the Fill tab, and click OK twice to apply the rule.

Highlight All Rows Matching the Next Available Date
Keep Existing Rules: If you already have a conditional formatting rule set up to highlight today's date, keep it active. This new rule will simply operate alongside it when today's date does not exist.
Advanced Data Formatting in WPS

Easily Track Important Dates in WPS Spreadsheet

WPS Spreadsheet fully supports advanced conditional formatting formulas, including TODAY, COUNTIF, and MINIFS. You can build dynamic schedules, highlight upcoming deadlines, and manage your data effortlessly with a familiar, highly compatible interface.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open the spreadsheet containing your date records.
  2. 2. Highlight the date range: Select the cells you want to format using your mouse.
  3. 3. Access Conditional Formatting: Navigate to the Home tab, click on Conditional Formatting, and select New Rule.
  4. 4. Apply the MINIFS formula: Choose the formula option, paste the MINIFS formula provided in the solutions, and set your desired highlight color.
100% compatible with Microsoft Excel formulas and date formatsIntuitive and easy-to-use Conditional Formatting Rules ManagerLightweight software with lightning-fast calculation speedsFree to use for daily spreadsheet and data management tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why is the conditional formatting formula not working on my date column?

Your dates might be stored as text rather than valid numerical dates. To verify, select a date cell and change its format to 'General'. If it changes to a 5-digit number (like 45000), it's a valid date. If it stays looking like a date, it is stored as text and needs to be converted.

Will this formula work if the next available date is weeks or months away?

Yes, the MINIFS function evaluates the entire specified range and finds the absolute smallest date that is strictly greater than today. It works perfectly regardless of how far in the future the next available date is.

What happens to the highlight if today's date is actually present in the list?

Because the formula includes the condition 'COUNTIF(...,TODAY())=0' (or <1), this specific rule is ignored entirely if today's date exists in the range. It will only activate to find the next date when today's date is completely absent.

Can I use these formulas in WPS Office?

Yes, WPS Spreadsheet fully supports MINIFS, COUNTIF, and TODAY functions. You can apply the exact same conditional formatting rules in WPS Office as you would in Microsoft Excel.