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

Data Analysis

  • Add Outline to Data in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How to create running total in an Excel Table
  • How to count table rows in Excel
  • Conditional Formatting Icon Sets Examples in Excel

References

  • How to create dynamic named range with OFFSET in Excel
  • Multi-criteria lookup and transpose in Excel
  • How to get last row in numeric data in Excel
  • How to get first column number in range in Excel
  • How to use Excel OFFSET function

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation number multiple 100
  • Excel Data validation allow weekday only
  • Excel Data validation require unique number
  • Excel Data validation must contain specific text

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.

Worked Example:   Conditional formatting date past due in Excel

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.

Worked Example:   Highlight values not between X and Y in Excel

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).

Worked Example:   Conditional formatting column is blank in Excel

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:

VLOOKUP without #N/A error in Excel

Next Post:

How to Create Gantt Chart in Excel

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

  • Return blank if in Excel
  • Not Equal To ‘<>‘ operator in Excel
  • IF with boolean logic in Excel
  • Nested IF function example in Excel
  • Complete List of Excel Logical Functions, References and Examples

Date Time

  • Assign points based on late time in Excel
  • Add workdays to date custom weekends in Excel
  • Get work hours between dates and times in Excel
  • How to calculate working days left in month in Excel
  • How to show last updated date stamp in Excel

Grouping

  • Map text to numbers in Excel
  • How to randomly assign people to groups in Excel
  • Group times into unequal buckets in Excel
  • Running count group by n size in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Currency vs Accounting Format in Excel
  • How to generate random number weighted probability in Excel
  • How to calculate percent variance in Excel
  • How to fill cell ranges with random text values in Excel
  • Count cells that contain errors in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning