Formula Errors

Fix Excel TODAY Function Returning FALSE for Matching Dates

Rana GarciaRana Garcia Oct 28, 2026 868 views

Question details

The user needs to understand why comparing seemingly identical dates to the TODAY() function returns FALSE, and how to resolve this for accurate conditional formatting or logical tests.

How to Fix Excel TODAY Function Returning FALSE for Matching Dates
Product
Excel
Device & OS
not provided
Scenario
Setting up conditional formatting or executing logical comparison formulas using the TODAY() function.
Observed behavior
Excel treats displayed dates as different from TODAY() even when they look visually identical, resulting in unexpected FALSE outputs in formulas and conditional formatting.
Before you start

Ensure your spreadsheet recalculation is set to Automatic so the TODAY() function updates correctly, and verify your system clock is displaying the correct date.

Solution 1Recommended

Strip Hidden Time Values Using the INT Function

Dates in Excel might contain hidden time values (fractions of a day). Since the TODAY() function returns a whole number representing midnight, using the INT function ensures an exact match.

Excel stores dates as serial numbers and times as decimal fractions. If a date cell was generated with a timestamp (like NOW()) or imported from another system, it may carry a hidden decimal value. The TODAY() function generates an integer without decimals. Comparing the two will yield a FALSE result.

1
Select the target cell

Click on the cell containing your logical test or conditional formatting rule that is returning FALSE.

2
Modify the formula with INT

Wrap the target cell reference with the INT() function to remove any decimal time values. For example, change =A2=TODAY() to =INT(A2)=TODAY().

3
Apply and verify

Press Enter to apply the formula. The INT function will strip the hidden time component, allowing the exact date match to return TRUE.

Strip Hidden Time Values Using the INT Function
Pro Tip: You can quickly check for hidden time values by temporarily changing the cell format to 'General'. A pure date will look like '45209', while a date with time will look like '45209.52'.
Advanced Spreadsheet Features

Fix Date Formula Errors Easily in WPS Spreadsheet

WPS Spreadsheet offers robust formula tracking and formatting tools to easily identify hidden time values and fix date comparison errors like the TODAY() function returning FALSE.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open your spreadsheet containing the date errors.
  2. 2. Check Cell Format: Right-click the problematic date cells and select 'Format Cells' to verify they are stored as Dates, not Text.
  3. 3. Apply Formula Fixes: Use the INT() or DATEVALUE() functions directly in the WPS formula bar to normalize the data.
  4. 4. Set Conditional Formatting: Go to the Home tab, click Conditional Formatting, and safely apply your corrected TODAY() rules.
Seamless compatibility with Microsoft Excel date formats and logical formulas.Built-in error checking tools to quickly spot text-formatted dates.Lightweight, fast performance for complex conditional formatting rules.Free to use with an intuitive, familiar interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my date look exactly like TODAY() but returns FALSE?

Excel dates are stored as numeric serial numbers. While a cell might display '10-Oct-2023', the underlying value might include a hidden time fraction (e.g., 45209.5). Because TODAY() returns the date precisely at midnight (45209.0), the exact mathematical comparison fails.

How can I easily check if my dates are stored as text?

Change the cell format to 'General'. If the date still looks like a standard date (e.g., '10/10/2023') instead of converting to a 5-digit serial number (like 45209), it is stored as text and needs to be converted.

Does the TODAY() function update automatically in conditional formatting?

Yes, the TODAY() function is volatile. It updates automatically based on your computer's system clock whenever the spreadsheet is recalculated, modified, or opened.

Can I use the DATEVALUE function to fix text dates?

Yes. If your date is stored as text, wrapping the cell reference in the DATEVALUE function (for example, =DATEVALUE(A2)=TODAY()) will convert the text string into a readable serial date for an accurate comparison.