Lesson#30: Modify CONDITIONAL FORMATTING by using formula

Lesson#30: Modify CONDITIONAL FORMATTING by using formula
In my previous post Lesson#29: Explaining CONDITIONAL FORMATTING very simply I explained CONDITIONAL FORMATTING.
In this post, I will show how to modify CONDITIONAL FORMATTING by using a formula.
1st you have to select the area where you want to apply CONDITIONAL FORMATTING then click on Conditional Formatting>New Rule

The New Formatting Rule window will open. Here you have to set the format and add a formula below Format values where this formula is truly written.

CONDITIONAL FORMATTING

I have entered a formula =D4<8^2. 

CONDITIONAL FORMATTING

It has formatted those cells where the formula is true.

CONDITIONAL FORMATTING

Here I will show another example where I have put the formula =VLOOKUP(C4,$C$4:$I$15,2,FALSE)>25 

CONDITIONAL FORMATTING

Here is the result.

Note: 1. Formula has to be started with “=”
2. Select the area and go to Conditional Formatting then apply the formula on any one cell (example =D4<8^2. Here D4)

See also  Lesson#103: 4 Ways to find duplicate values in a worksheet

Hi! I am Puspendu. I am the founder and author of Excelabcd. I am little creative person, blogger and Excel-maniac guy. I hope you enjoy my blog.

Leave a Reply

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

*