How to Highlight Excel Cells When a Date Matches Today
Question details
The user wants to apply conditional formatting to highlight specific cells in columns F and G dynamically whenever the date in column F is equal to today's date.
- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking daily schedules, tasks, or deadlines where rows corresponding to the current system date need to stand out visually in a spreadsheet.
- Observed behavior
- Needs to apply a dynamic formatting rule based on the current system date using the TODAY() function to conditionally format the selected cell ranges.
Ensure that the data in your target columns is stored as actual Excel date values, rather than text strings, so the TODAY() function can correctly recognize and evaluate them against the current date.
Use Conditional Formatting with the TODAY() Function
Apply a custom formula rule in Excel's conditional formatting settings to dynamically check cell dates against the current system date.
By utilizing the TODAY() function within a conditional formatting rule, Excel will automatically recalculate the current date every time you open the workbook. This ensures your daily highlights are always accurate without manual updates.
Click and drag to select the cells you want to format in column F (for example, F1:F100).
Navigate to the 'Home' tab on the Excel ribbon, click on 'Conditional Formatting', and select 'New Rule' from the drop-down menu.
Choose 'Use a formula to determine which cells to format'. In the formula box, enter '=F1=TODAY()' (make sure the row number in the formula matches the first row of your selection).
Click the 'Format' button, switch to the 'Fill' tab, choose your desired highlight color, and click 'OK' twice to apply the rule.
For column G, select the applicable range and repeat the process using the same formula '=F1=TODAY()', making sure to adjust the row reference to match the first row of the newly selected range.
Highlight Dates Easily with WPS Spreadsheet
WPS Office Spreadsheet provides intuitive and powerful conditional formatting tools perfectly compatible with standard formulas like TODAY(). You can easily highlight deadlines, track schedules, and organize your daily tasks for free.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your date columns.
- 2. Select the columns: Highlight the range in columns F and G that you want to format.
- 3. Create a new formatting rule: Go to the Home tab, click 'Conditional Formatting', and select 'New Rule'.
- 4. Apply the custom formula: Choose 'Use a formula to format cells', enter '=$F1=TODAY()', select a fill color, and click OK to save.

Frequently Asked Questions
Why isn't the TODAY() function highlighting my dates correctly?
This issue typically occurs if your dates are formatted as text or if they include specific time values (timestamps) alongside the date. Ensure the cells are formatted strictly as Dates. If they contain times, use the INT() function to extract just the date, such as =INT($F1)=TODAY().
Can I highlight dates that are past due instead of today?
Yes. You can modify the operator in your formula. To highlight past dates, use the less-than symbol: =F1<TODAY(). To highlight future dates, use the greater-than symbol: =F1>TODAY().
Will the TODAY() conditional formatting update automatically tomorrow?
Yes. TODAY() is a volatile function in spreadsheet software. It will automatically recalculate to the current system date whenever you open the workbook or perform an action that triggers a worksheet calculation.




