Skip to main content
 

How to determine if date has passed in Excel?

Author: Siluvia Last Modified: 2024-08-28

For example, you want to compare a list of given dates with current date, and determine if date has passed in that list. This article shows you methods of determining if date has passed in Excel.

Determine if dates has passed with formula
Determine if dates has passed with Conditional Formatting
Easily determine if dates has passed with Kutools for Excel


Determine if dates has passed with formula

Supposing the current date is 2015/5/25, with the following formula, you can determine if date has passed compared with today’s date. Please do as follows.

1. Select a blank cell which is adjacent to the date you want to determine if it is overdue. Enter the below formula into it, and then press the Enter key.

=IF(ISBLANK(A2),"",IF(A2<TODAY(),"Overdue","Not due"))

a screenshot of using formula to determine if dates has passed

2. Drag the Fill Handle to the range with the dates you want to determine if overdue. See screenshot:

a screenshot of the results

Notes:

  • 1. You will get two results: Overdue and Not due. If that’s an overdue date compared to today’s date, the cell will be populated with Overdue. On the contrary, it will be populated with Not due.
  • 2. In the formula, ISBLANK means that when there is a blank cell in selected range, the result will be blank.

Quickly select all dates which has passed in a specified range in Excel:

The Select Specific Cells utility of Kutools for Excel can help you quickly selecr all date cells which has passed in a specified range in Excel.
Download the full feature 30-day free trail of Kutools for Excel now!

a screenshot of using Kutools for Excel to quickly select all dates which has been passed in a specified range


Determine if dates has passed with Conditional Formatting

With the Conditional Formatting function, you can highlight all dates which are overdue compared to today’s date.

1. Select the date list, and click Conditional Formatting > New Rule under Home tab. See screenshot:

a screenshot of creating a new conditional formatting rule

2. In the New Formatting Rule dialog box, you need to:

  • A. In the Select a Rule Type section, select Format only cells that contain.
  • B. Select Cell Value in the first Format only cells with drop-down list.
  • C. Select less than in the second Format only cells with drop-down list.
  • D. In the third Format only cells with drop-down list, enter =TODAY().
  • E. Click the Format button. See screenshot:

a screenshot of configuring the rule

3. In the Format Cells dialog box, specify a background color for highlighting the overdue dates, and then click the OK button.

4. When it returns to the New Formatting Rule dialog box, click OK.

Then all passed dates compared to current date are highlighted with specified fill color immediately.

a screenshot showing all expired dates highlighted with certian fill color

Note: If there are blank cells within the date list, they will be highlighted as well.


Determine if dates has passed with Kutools for Excel

With the Select Specific Cells utility of Kutools for Excel, you can easily select all overdue dates in a column compared to today’s date.

Before applying Kutools for Excel, please download and install it firstly.

1. Select the range with dates you want to compare with current date and select the overdue dates, then click Kutools > Select > Select Specific Cells. See screenshot:

a screenshot of enabling the Select Specific Cells feature

2. In the Select Specific Cells dialog box, select Cell in the Selection type section, select Less than in the Specific type drop-down list, enter today’s date into the following box, and finally click the OK button.

a screenshot of configuring the Select Specific Cells dialog box

3. Then a Select Specific Cells prompt box pops up to tell you how many cells will be selected, click the OK button, and the overdue date cells are selected immediately.

a screenshot showing expired dates are selected

  If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Related articles:


Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!