Search Contextures Sites

Excel -- Conditional Formatting -- Based on another cell

download a zipped sample file

Video: To view the steps in a short video, click here

Apply Conditional Formatting to a Row

You can apply conditional formatting that checks the value in one cell, and applies formatting to other cells, based on that value. For example, you could colour the entire row in a table, if the values in column B are over a set value.

To apply conditional formatting to the cells:

1. Select the cells to be formatted (A2:D4 in this example)
2. Choose Format>Conditional Formatting...
3. From the first drop-down list, choose Formula Is
4. In the text box, enter a formula that refers to the active cell in the selection.

        In this example, the formula is: =$B2>75

In this example, we use an absolute reference to column B ($B), to ensure that the conditional formatting in all columns refers to the value in column B. Otherwise, the formula will be adjusted in each column, and won't work properly.

 

 

 

 

Set Conditions - Formula

 

5. Click the Format button.
6. Select the formatting options, click OK
7. Click OK

To view the steps in a short video, click here

Check Anothr Cell
   

Learn how to create Excel dashboards.

  1. Conditional Formatting -- Introduction
  2. Conditional Formatting -- Multiple Cells
  3. Conditional Formatting -- Examples
  4. Conditional Formatting -- Documentation

       Home     Excel Tips     Excel Files      Blog    Contact

RSS Feed

Privacy Policy

 

 

The Excel Store

 

Last updated: February 19, 2009 7:13 PM