DEV Community

Andrews
Andrews

Posted on • Originally published at geekexcel.com on

Excel Formulas to Highlight the Entire Rows Between Two Dates!!

We have already seen how to highlight the rows that contain dates between two dates in Excel. Similarly, here we are going to learn the simple formula to highlight entire rows that contain dates between two dates in Excel. Let’s jump into this article!! Get an official version of ** MS Excel** from the following link: https://www.microsoft.com/en-in/microsoft-365/excel

Highlight rows between dates
Highlight rows between dates

General Formula:

  • If you want to highlight entire rows based on two dates, use the below formula.

=AND($A1>=start,$A1<=end)

Syntax Explanations:

  • AND ** – This function will check all the conditions and returns TRUE only when if all the conditions evaluated as true otherwise it returns **FALSE. Read more on the AND Function.
  • Absolute Reference ($) – It is an actual fixed location in a worksheet. Read more on Absolute Reference.
  • A1 – It represents the input value.
  • Start & End Date – It is the specified date that helps to format the cells.
  • Comma symbol (,) – It is a separator that helps to separate a list of values.
  • Parenthesis () – The main purpose of this symbol is to group the elements.

Practical Example:

Refer to the below example image.

  • Here we will enter the input values in Column B to Column E.
  • From these input dates, we want to find out the date between the two dates given in Column G and Column H.

Input Ranges
Input Ranges

Result
Result

Wind-Up:

From this short article, you can get to know how to highlight entire rows that contain dates between two dates in Excel. If you have any other ideas or question, do share with us here in the comments section below. Thank You. To learn more, check out Geek Excel *and Excel Formulas *!!

Read Ahead:

Top comments (0)