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 highlight cells between two dates in Excel?

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


Combine multiple worksheets/workbooks into one worksheet / workbook:

Combine multiple worksheets or workbooks into one single worksheet or workbook may be a huge task in your daily work. But, if you have Kutools for Excel, its powerful utility – Combine can help you quickly combine multiple worksheets, workbooks into one worksheet or workbook.

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days. Free Download Now!

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

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, see screenshot:

doc-highlight-cells-between-two-dates1

3. In the Between dialog, enter the start date and end date, and select one color to highlight the cells, see screenshot:

doc-highlight-cells-between-two-dates1

4. Then click OK button, the date cells which between the two dates that you have specified are highlighted at once. See screenshot:

doc-highlight-cells-between-two-dates1


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.

doc-highlight-cells-between-two-dates1

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:

doc-highlight-cells-between-two-dates1

3. In the New Formatting Rule dialog box, click Use a formula to determine which cells to format option, and 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 ) see screenshot:

doc-highlight-cells-between-two-dates1

4. Then click Format button to choose one color you like to highlight the rows under the Fill tab in the Format Cells dialog, see screenshot:

doc-highlight-cells-between-two-dates1

5. And then click OK > OK to close the dialogs, and the rows which between the two specific dates have been highlighted.

doc-highlight-cells-between-two-dates1

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.

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 do 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, and enter the start date into the following blank box. Select Less than from the second drop-down box, enter the end date into the box;

(3). Click the OK button.

3. Now all dates between the given two dates are selected immediately in your selected range. Please specify a background color under Home tab to highlight them.

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.


Highlight cells between two dates with Kutools for Excel

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


Related articles:


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

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!
officetab bottom
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.
    Larissa · 1 years ago
    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
    • To post as a guest, your comment is unpublished.
      crystal · 1 years ago
      Sorry I am not sure I got your question. Would be nice if you could provide screenshot of what you are trying to do.
  • To post as a guest, your comment is unpublished.
    Ahmed · 2 years ago
    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?
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      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