Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Load Analysis ToolPak in Excel
  • How to Create Area Chart in Excel
  • How To Perform and Interpret Regression Analysis in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Data Series in Excel

References

  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Count rows that contain specific values in Excel
  • How to get relative column numbers in a range in Excel
  • Last row number in range
  • MATCH function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation must not contain
  • Excel Data validation specific characters only
  • Prevent invalid data entering in specific cells
  • Excel Data validation must contain specific text

Highlight dates greater than in Excel

by

This tutorial shows how to Highlight dates greater than in Excel using the example below;

Formula

=A1>DATE(year,month,day)

Explanation

If you want to highlight dates greater than or less than a certain date with conditional formatting, you can use a simple formula that relies on the date function. For example, if you have dates in the cells B4:G11, and want to highlight cells that contain a date greater than August 1st, 2015, select the range and create a new CF rule that uses this formula:

=B4>DATE(2015,8,1)

Note: it’s important that CF formulas be entered relative to the “active cell” in the selection, which is assumed to be B4 in this case.

Once you save the rule, you’ll see the dates greater than 8/1/2015 are highlighted.

How this formula works

The DATE function creates a proper Excel date with given year, month, and day values. Then, it’s simply a matter of comparing each date in the range with the date created with DATE. The reference B4 is fully relative, so will update as the rule is applied to each cell in the range, and any dates greater than 8/1/2015 will be highlighted.

Greater than or equal to, etc.

Of course, you can use all of the standard operators in this formula to adjust behavior as needed. For example, to highlight all dates greater than or equal to 8/1/2015, use:

=B4>=DATE(2015,8,1)

Use another cell for input

There is no need to hard-code the date into the rule. To make a more flexible, interactive rule, use another cell like a variable in the formula. For example, if you want to use cell C2 as an input cell, name cell C2 “input”, enter a date, and use this formula:

=B4>input

Then change the date in cell C2 to anything you like and the conditional formatting rule will respond instantly.

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel AND Function
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel

Date Time

  • Calculate time difference in hours as decimal value in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • Series of dates by day
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Convert date to month and year in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • Map inputs to arbitrary values in Excel

General

  • How to calculate total from percentage in Excel
  • How to make excel worksheets print on one page?
  • How to fill cell ranges with random text values in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • Find, Select, Replace and Go To Special in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning