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

Data Analysis

  • How to Sort by Color in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Use Data Form to input, edit and delete records in Excel
  • Understanding Pivot Tables in Excel
  • Conditional Formatting Rules in Excel

References

  • How to get address of first cell in range in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Approximate match with multiple criteria in Excel
  • How to get last row in mixed data with blanks in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation must begin with
  • Excel Data validation specific characters only
  • Excel Data validation date in specific year
  • Excel Data validation no punctuation

Conditional formatting based on another cell in Excel

by

This tutorial shows how to Conditionally format based on another cell in Excel using the example below;

Formula

=A1>=$J$1

Explanation

To apply conditional formatting based on a value in another cell, you can create a rule based on a simple formula. In the example shown, the formula used to apply conditional formatting to the range C5:G15 is:

=C5>=$J$6

How this formula works

Excel contains many built-in “presets” for highlighting values with conditional formatting, including a preset to highlight cells greater than a specific value. However, by using your own formula, you have more flexibility and control.

In this example, a conditional formatting rule is set up to highlight cells in the range C5:G15 when then are greater than the value entered in cell J6. The formula used to create the rule is:

=C5>=$J$6

The rule is applied to the entire range C5:G15, and the value in J6 can be changed at any time by the user. When a new value is entered, the highlighting is immediately updated.

The formula uses the greater than or equal to operator (>=) to evaluate each cell in the range against the value in J6. The reference to C5 is relative and changes as the formula is evaluated for each cell in the range. The reference to cell J6 is “locked” as an absolute reference ($J$6).

When a value in the range is greater than or equal to 15 (the current value in J6), the formula returns TRUE and the rule is triggered.

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

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • IF with boolean logic in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel

Date Time

  • HOUR function: Description, Usage, Syntax, Examples and Explanation
  • Add months to date in Excel
  • Get fiscal year from date in Excel
  • Add years to date in Excel
  • Get first Monday before any date in Excel

Grouping

  • Group arbitrary text values in Excel
  • How to randomly assign data to groups in Excel
  • Map text to numbers in Excel
  • Categorize text with keywords in Excel
  • Group times into 3 hour buckets in Excel

General

  • 3D SUMIF for multiple worksheets in Excel
  • Delete Blank Rows at Once in Excel
  • How to generate random number between two numbers in Excel
  • Advanced Number Formats in Excel
  • How to create dynamic worksheet reference in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning