Skip to main content

How to highlight cells between two dates in Excel?

Author: Xiaoyang Last Modified: 2020-05-26

If you have a list of dates in your worksheet, and now, you want to highlight the cells or rows which are in between two defined dates, the Conditional Formatting of Excel can do you a favor. This article will talk about how to apply the Conditional Formatting to highlight the cells or rows between two dates.

Highlight cells between two dates with Conditional Formatting
Highlight rows between two dates with Conditional Formatting
Highlight cells between two dates with Kutools for Excel


Highlight cells between two dates with Conditional Formatting

To highlight the date cells between two given date, please do as following steps:

1. Select your data range that you want to highlight the specific date cell.

2. Click Home > Conditional Formatting > Highlight Cells Rules > Between.

3. In the Between dialog, enter the start date and end date, select one color to highlight the cells, and then click OK.
Then the date cells which between the two given dates are highlighted at once.


Highlight rows between two dates with Conditional Formatting

If you want to highlight the entire row or the row of selection to make the row more striking, you need to apply a formula with the Conditional Formatting.

1. You need to type your start and end date which you want to highlight the rows between them in the worksheet. In this case, I enter the start date and end date into D2 and E2 separately.

2. Select the data range that you want to use (if your data has headers, please ignore them). And then click Home > Conditional Formatting > New Rule, see screenshot:

3. In the New Formatting Rule dialog box, please configure as follows.

  • 3.1) Click Use a formula to determine which cells to format option,
  • 3.2) Enter this formula =AND($B2>=$D$2,$B2<=$E$2) into the Format values where this formula is true text box, (in the formula, B2 stands for the first date cell in your data range, D2 contains the start date and E2 contains the end date you have typed in step 1 )
  • 3.3) Click the Format button to choose one color to highlight the rows;
  • 3.4) Click the OK button. See screenshot:

Then the rows which between the two specific dates have been highlighted as the below screenshot shown.

Note: This Conditional Formatting is a dynamic tool, the result will be changed as the date changes.


Highlight cells between two dates with Kutools for Excel

With the Select Specific Cells utility of Kutools for Excel, you can quickly select all cells between two dates, and then specify a background color to highlight them. Please do as follows.

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

1. Select the range with the dates you want to highlight, and then click Kutools > Select > Select Specific Cells. See screenshot:

2. In the Select Specific Cells dialog box, please configure as follows:

  • (1). Select Cell in the Selection type section (if you want to highlight the entire row, please select the Entire row option);
  • (2). In the Specific type section, select Greater than from the first drop-down list, enter the start date into the following text box. Select Less than from the second drop-down box, enter the end date into the text box;
  • (3). Click the OK button.
  • (4). Then a dialog pops up to tell you how many cells were found and selected, click OK. See screenshot:

3. Dates between the given two dates have been selected in your selected range. Please specify a background color under Home tab to highlight them.

  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.


Highlight cells between two dates with Kutools for Excel


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...

Description


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!
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hola a todos, quisiera saber como puedo resaltar un rango de celdas en blanco con formula teniendo de base fecha de inicio (B1), fecha fin (C2) de alguna actividad y el objetivo de resaltar es visualizar cuantos días tomo la actividad, estos días se encuentran en una fila... el problema es que soy principiante en Excel y no he logrado encontrar la formula para resaltar un rango de celdas según la fecha inicial y final.
This comment was minimized by the moderator on the site
Hello, Angie,
Sorry, I can't understand your problem clearly. It is best to explain your problem in English. Or you can upload screenshot to express what you want.
Thank you!
This comment was minimized by the moderator on the site
Hi I was hoping you could help me. I am trying to create an excel spreadsheet which will allow me to track how many sinks I have available for hire. For example I have 30 sinks in total and they are hired our to many various companies at different delivery dates and return dates. I wanted to be able to enter a formula that would used the two dates to then show if a sink is available for hire
This comment was minimized by the moderator on the site
Sorry I am not sure I got your question. Would be nice if you could provide screenshot of what you are trying to do.
This comment was minimized by the moderator on the site
Hi there, thanks for your efforts. I have a simple sheet to track employees' leaves. I would like make sure that new leaves does not fall between other 2 dates for the same employee. For example, employee code # 2230 has a leave from 16 July 2017 to 20 July 2017, so if he applies for another 1 day leave on 18 July 2017 I want that date to get highlighted. Can you please help me with that?
This comment was minimized by the moderator on the site
Dear Ahmed,
Would you please provide an example screenshot of your worksheet? We need more information for dealing with the problem.
Thank you!

Best Regards, Crystal
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations