Excel Formulas to Highlight the Integer Values Only ~ A Simple Tutorial!!
Tags: excelformula, conditionalformattin, excelformulas
Published: 2021-03-31 04:02:52

---
title: Excel Formulas to Highlight the Integer Values Only ~ A Simple Tutorial!!
published: true
date: 2021-03-30 10:09:37 UTC
tags: ExcelFormula,Conditionalformattin,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-highlight-the-integer-values-only/
---

Assume that you have a list of values that contains both the integers and decimals in your worksheet. Now you need to **highlight the integer values only**. How could you solve this task? Today, I will introduce you to some quick tricks to deal with this problem. 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 Integer values only](https://geekexcel.com/wp-content/uploads/2021/03/Highlight-Integer-values-only.png)](https://geekexcel.com/excel-formulas-to-highlight-the-integer-values-only/highlight-integer-values-only/#main)<figcaption id="caption-attachment-22744">Highlight Integer values only</figcaption>

## General Formula:

- Use the below formula to highlight the integer value in Excel.

**=[MOD](https://geekexcel.com/how-to-use-excel-mod-function-in-office-365-with-examples/)(A1,1)=0**

## Syntax Explanations:

- **MOD** – This function will return the remainder of the two numbers after division. Read more on the **[MOD Function](https://geekexcel.com/how-to-use-excel-mod-function-in-office-365-with-examples/)**.
- **A1** – It represents the input values from your worksheet.
- **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:

Let’s consider the below example image.

- Here we have the input values in **Column B** to **Column E**.
- Now we are going to highlight the cells that contain integer values.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/03/Input-Ranges-39.png)<figcaption id="caption-attachment-22741">Input Ranges</figcaption>

- 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-43.png)<figcaption id="caption-attachment-22742">Result</figcaption>

## Verdict:

In this article, we have described how to apply the formula to **highlight the integer values only in Excel**. If you have any doubts regarding this article, don’t forget to let me know. 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:

- **[Formulas to Highlight Target Percentage with Conditional Formatting](https://geekexcel.com/excel-formulas-to-highlight-target-percentage-with-conditional-formatting/)**
- **[Excel Formulas to Highlight the Duplicate Columns ~ Easy Steps!!](https://geekexcel.com/excel-formulas-to-highlight-the-duplicate-columns/)**
- **[Excel Formulas to Highlight Every Other Row ~ Easy Tutorial!!](https://geekexcel.com/excel-formulas-to-highlight-every-other-row-easy-tutorial/)**