Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to determine if date has passed in Excel?

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


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. See screenshot:.

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Download the free trial now


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 formula =IF(ISBLANK(A2),"",IF(A2<TODAY(),"Overdue","Not due")) into the formula bar, and then press the Enter key.

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

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.


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:

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:

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.

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.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.

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:

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.

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.

Tip.If you want to have a free trial of this utility, please go to download the software freely first, and then go to apply the operation according above steps.


Related articles:



Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Chelsea · 1 years ago
    When using the conditional formatting method, is there a way for blank cells to not be highlighted?
  • To post as a guest, your comment is unpublished.
    Shaiban · 1 years ago
    Hello
    Thank you so much for the above
    I work in a cargo company in Dubai, we usually charge our clients on monthly basis for the storage rent. I need a spread sheet where I can track "Not Due" "Overdue" and more importantly "Due" so that I can send invoice to my client if the rent is Due. Kindly help