Conditional Format Dates earlier than or Greater Than Today

This post will guide you how to use conditional formatting to identify dates earlier than or greater than today in Excel. How do I highlight dates greater than or less than today or a certain date with conditional formatting in Excel. How to format cell if cell contains date less than or greater than today in Excel.

Conditional Format Dates earlier than or Greater Than Today

Assuming that you have a list of data in range B1:B6 which contain dates, and you want to format dates that are older than the current date or greater than today. How to achieve it. You can use the conditional formatting feature to achieve the result. Just do the following steps:

#1 select the data that contain dates.

format dates greater than or older than today1

#2 go to HOME tab, click Conditional Formatting command under Styles group, and select New Rules from the popup menu list. And the New Formatting Rule dialog will open.

format dates greater than or older than today2

#3 select Use a formula to determine which cells to format in the Select a Rule Type section. Then type the following formula into the Format values where this formula is true text box.

=$B1 >TODAY() (greater than today)


=$B1 < TODAY() (earlier than today)

format dates greater than or older than today3

#4 click Format button and the Format Cells dialog will open. You can set the formats for dates, such as: fonts or background color. Click OK button.

format dates greater than or older than today4

#5 click Ok button.

All dates greater than or earlier than today are formatted.

format dates greater than or older than today5

Related Functions

  • Excel TODAY function
    The Excel TODAY function returns the serial number of the current date. So you can get the current system date from the TODAY function. The syntax of the TODAY function is as below:=TODAY()…
Related Posts

Excel Formulas To Calculate The Bond Valuation

Assume that you've been assigned a task of calculating bond valuation; so if you are new to Ms Excel or do not have much experience with it, then I am pretty sure about it that doing this task manually might ...

Calculate Cumulative Totals with Excel SUM Function

Today, through a simple example, we will show you how to use one of the most common-used Mathematical functions in excel, the SUM function, to add up the sum. In our daily life, we keep an account of what we ...

BMI Calculation Formula In Ms Excel

You might have come across a task in which you were assigned to make BMI calculations of the supplied numbers, and you may be looking for an efficient approach to accomplish this process rather than doing BMI calculations manually, by ...

Calculate The Period of Loan or Investment in Excel

In our daily life, most of us will invest or take a loan, so we need to master some simple financial functions to calculate the period needed for loans or investments. If you work as an accountant, you need to ...

Working Time Calculation Based on Timesheets

In the office, a special machine record the time when you start working (clock in office) and when you finish working (clock out of office). We can calculate the total working time by subtracting the end working time from the ...

Calculate Days Open in Excel

If you want to know how to Calculate days in Excel, there are some formulas that you can use to do so. For example, you can use the DAYS function in Excel to find the number of days between two ...

How to Sum Last N Days in Excel
How to Sum in Last N Days 14

In our daily life, we may want to sum amounts or sales for a specific period, for example in last N days. Sum numbers in Excel is easy to run, we can apply SUM function. But if we want to ...

How to Calculate Retirement Date and Remaining Years refer to Birth Date in Excel
Calculate Retirement Date 10

Every company has its own police about the retirement date for employees. Suppose employees will be retired from a certain age of 60, how can we calculate the retirement date for everyone base on their birthdays? Actually, there are several ...

How to Sum If Date is Greater or Less Than in Excel
Sum If Date is Greater or Less Than 1

If we sum for certain conditions, we'll use the SUMIF function in excel. For example, count the total sales for a period before of after a specified date. This article will help you to do sum for a specified period ...

How to Highlight Cell or Row If Date Is In Current Day/Week/Month in Excel
highlight cell or row if date8

This post will guide you how to highlight cell if date is the current day or is in the current week or month in Excel. How do I highlight row if date is in current week or month with conditional ...