Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create dynamic reference table name in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Number and Text Filters Examples in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • How To Filter Data in Excel

References

  • How to use Excel COLUMN Function
  • How to retrieve first match between two ranges in Excel
  • How to get address of first cell in range in Excel
  • Count rows that contain specific values in Excel
  • How to use Excel FORMULATEXT function

Data Validations

  • Data validation must not exist in list
  • Excel Data validation allow weekday only
  • Excel Data validation whole percentage only
  • Excel Data validation only dates between
  • Excel Data validation no punctuation

Highlight multiples of specific value in Excel

by

This tutorial shows how to Highlight multiples of specific value in Excel using the example below;

Formula

=MOD(A1,value)=0

Explanation

To highlight numbers that are multiples of a another number with conditional formatting, you can use a simple formula based on the MOD function.

In the example shown, the formula used to highlight multiples of 9 is:

=MOD(B4,$E$2)=0

Note: formula is entered relative to the “active cell” in the selection, cell B4 in this case.

How this formula works

Conditional formatting is evaluated for each cell in the range, relative to the upper left cell in the selection. In this case, the formula uses the MOD function to check the remainder of dividing the value in each cell, with the value in cell E2, which is 9. When the remainder is zero, we know that the value is an even multiple of the number 9, so the formula checks the result of MOD against zero.

When MOD returns zero, the expression returns TRUE and the conditional formatting applies. When MOD returns any other result, the expression returns FALSE conditional formatting is not applied.

Note E2 is input as an absolute address ($E$2) to prevent the reference from changing as the conditional formatting rule is evaluated across the selection B4:G11.

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IF with boolean logic in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert decimal hours to Excel time
  • Display Days until expiration date in Excel
  • Get days before a date in Excel
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate nth day of week in month in Excel

Grouping

  • Categorize text with keywords in Excel
  • Map text to numbers in Excel
  • Group numbers at uneven intervals in Excel
  • If cell contains one of many things in Excel
  • Group arbitrary text values in Excel

General

  • How to calculate percent change in Excel
  • How to generate random number weighted probability in Excel
  • How to count total number of cells in a rectangular range in Excel
  • Count cells that contain errors in Excel
  • How to calculate profit margin percentage in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning