Conditional formatting based on another cell value

In this article, we will learn about how to use Conditional formatting based on another cell value in Excel.

In simple words, We need view highlighted data on the basis of values in another cell.

Conditional Formatting is used to highlight the data on the basis of some criteria. It would be difficult to see various trends just for examining your Excel worksheet. Conditional Formatting provides a way to visualize data and make worksheets easier to understand.

It allows you to apply formatting basis on the cell values such as colours, icons and data bars. For this, we will create a rule in Conditional Formatting.

Let’s understand this function using it in an example.

Here we have some values on the left side on which conditional formatting is being applied.
And on the right side we have some values on which the conditional formatting values are based upon.
We need to follow some steps

Select the cells A1 : C9.
322
Go to Home > Conditional Formatting > Highlight Cells Rules > Greater Than..
A dialog box will appear in front
323
Select the F3 cell in the first bow and select the formatting of the cells to Yellow Fill with Dark Yellow Text.
324
Click Ok.
325
As you can see the format of values is changed using Conditional formatting.

You might also notice that what happened to the values between 42 & 50. Excel overwrites the first rule and give preference to the last rule applied. If you wish to highlight
the data with different colour. Make new rule in conditional formatting

Now we need to view the results based on another cell value.

For that go through the same process
Select the cells
326
Go to Home > Conditional Formatting > Highlight Cells Rules > Less Than..

A dialog box will appear in front
327
Select the G3 cell in the first bow and select the formatting of the cells to Green Fill with Dark Green Text as shown in the snapshot below.
328
Click Ok.
329
As you can see the new format of values is changed using Conditional formatting based on cell values.

Changing the values in the cell changes result.

330
As you can see we changed the value in G3 cell from 50 to
40 and can view the updated results.

Hope you understood how to use Conditional formatting based on another cell value in Excel. Explore more articles on Excel Conditional formatting here. Please feel free to state your query or feedback for the above article.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube