Excel Formulas to Highlight the Numbers between Two Values!!
Tags: excelformula, conditionalformattin, excelformulas
Published: 2021-04-19 06:42:25

---
title: Excel Formulas to Highlight the Numbers between Two Values!!
published: true
date: 2021-04-05 09:26:13 UTC
tags: ExcelFormula,Conditionalformattin,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-highlight-values-between/
---

Conditional Formatting is a feature in Excel that allows us to change the format of cells based on a set of rules or conditions. In this tutorial, we are going to **highlight the values between two numbers in Excel**. Let’s get into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Highlight values between](https://geekexcel.com/wp-content/uploads/2021/04/Highlight-values-between.png)](https://geekexcel.com/excel-formulas-highlight-values-between/highlight-values-between/#main)<figcaption id="caption-attachment-22840">Highlight values between</figcaption>

## Generic Formula:

- Use the below formula to highlight the dates with the next N days.

**=[AND](https://geekexcel.com/how-to-use-logical-function-and-in-excel-365/)(A1>=lower,A1<=upper)**

## Syntax Explanations:

- **AND** – This function will check multiple conditions and returns [**TRUE **](https://geekexcel.com/use-true-function-in-microsoft-excel-365-simple-methods/)if all the conditions are evaluated as true otherwise returns **[FALSE](https://geekexcel.com/use-false-function-in-microsoft-excel-365-simple-methods/)**. Read more on the[**AND Function**](https://geekexcel.com/how-to-use-logical-function-and-in-excel-365/).
- **A1** – It represents the input value.
- **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.

## Example:

Refer to the below example.

- Here, we will enter the input values in **Column B** to **Column E**.
- Now we are going to highlight the numbers between the two values.

![Input ranges](https://geekexcel.com/wp-content/uploads/2021/04/Input-ranges-6.png)<figcaption id="caption-attachment-22841">Input ranges</figcaption>

- So apply the above-given formula in the conditional formatting option.
- To know  **how to apply conditional formatting**  in Excel, just **refer to this article<u>:</u>[ How to Apply the Formula with Conditional Formatting In Excel?](https://geekexcel.com/how-to-apply-formula-with-conditional-formatting/)**
- Finally, we will get the result as shown below.

![Result](https://geekexcel.com/wp-content/uploads/2021/04/Result-6.png)<figcaption id="caption-attachment-22842">Result</figcaption>

## Wrap-Up:

This tutorial described the simple formula to **highlight the values between two numbers in Excel**. If you have any **issue** regarding this article or any **unresolved query** , please comment in the **comment** box below. We will assist you. Thank you for visiting our site!! To learn more, check out **[Geek Excel](https://geekexcel.com/) **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Also:

- **[Excel Formulas to Highlight the Duplicate Values from Two Columns!!](https://geekexcel.com/excel-formulas-highlight-duplicate-values-from-two-columns/)**
- **[Excel Formulas to Apply Conditional Formatting Based on Past Due Dates!](https://geekexcel.com/excel-formulas-to-apply-conditional-formatting-based-on-past-due-dates/)**