Excel Formulas to Highlight the Cells that End with Given Value!!
Tags: excelformula, conditionalformattin, excelformulas
Published: 2021-03-26 05:46:50

---
title: Excel Formulas to Highlight the Cells that End with Given Value!!
published: true
date: 2021-03-25 12:02:27 UTC
tags: ExcelFormula,Conditionalformattin,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-highlight-cells-end-with/
---

We have already seen how to **[highlight the cells that begin with given criteria](https://geekexcel.com/excel-formulas-highlight-cells-that-begin-with-given-criteria/)**. In this article, I’m going to talk about how you can use the formulas to **highlight the cells that end with given criteria 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 the cells that end with](https://geekexcel.com/wp-content/uploads/2021/03/Highlight-the-cells-that-end-with.png)](https://geekexcel.com/excel-formulas-to-highlight-cells-end-with/highlight-the-cells-that-end-with/#main)<figcaption id="caption-attachment-22615">Highlight the cells that end with</figcaption>
## General Formula:

- To highlight the cells that end with certain criteria in Excel.

**=[COUNTIF](https://geekexcel.com/formulas-to-count-with-countif-function-in-excel-office-365/)(A1,”\*text”)**

## Syntax Explanations:

- **COUNTIF** – The Excel**[COUNTIF function](https://geekexcel.com/formulas-to-count-with-countif-function-in-excel-office-365/)** will help to count the cells that meet a single condition or criteria.
- **Text** – It represents the criteria value.
- **A1** – It represents the input range.
- **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 have a list of names from ** Column B**  to ** Column E**.
- Now we want the format the cells that end with the criteria value which is given in **Column G**.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/03/Input-Ranges-27.png)<figcaption id="caption-attachment-22616">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, it will highlight the result and displayed it as shown below.

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

## Closure:

From this short tutorial, you can get to know the simple formula used to **highlight the cells that end with specific criteria in Excel**. Hope you like this article. Let me know your doubts in the below comment section. Thank you for visiting our site!! To learn more, check out **[Geek Excel](https://geekexcel.com/) **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Related Articles:

- **[Excel Formulas to Highlight the Cells that contain Certain Value!!](https://geekexcel.com/excel-formulas-to-highlight-the-cells-that-contains-certain-value/)**
- **[Excel Formulas to Highlight Bottom Values with Conditional Formatting!!](https://geekexcel.com/excel-formulas-to-highlight-bottom-values-with-conditional-formatting/)**