IF condition with conditional formatting

avinashraste

Board Regular
Joined
Mar 12, 2008
Messages
167
Hello,

I have an excel sheet containing Name & rate columns. For eg. abc - 25000, xyz - 30000, jkl - 15000. Now i want to add an if condition that IF the rate (B2) is less than 20000, THEN colour (A2) with Green, else No Clour.

That means based on the rate cell, I want to change the colour of Name cell.

Is this possible ? Please guide & help.

Thanks & Regards

Avinash Raste
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Select the names, in CF use Formula Is with the formula

=B2<20000

and set a format.
 
Upvote 0
Dear VoG,

Thanks for the early reply. I tried but could not get the result. What I want is If B2 is Less than 20000 then A2 will be coloured else no colour. If B3 is less than 20000 then A3 will be colured else no colur, if B4 is less than 20000 then A4 will be colured else no colour. This will go on for 300 rows.

So can you pls guide, how do I do that ?

Thanks & Regards

Avinash Raste
 
Upvote 0
Like this: select the whole range in column A and apply the CF formula

Excel Workbook
AB
2V14999
3S14864
4H23666
5F24681
6E12938
7Z14099
8W17146
9B16547
Sheet8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A21. / Formula is =B2<20000Abc
 
Upvote 0
Dear VoG,

Superb.
Thanks a lot sir. This is exactly how I wanted. Thank you once again.

Thanks & regards

Avinash Raste
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top