Conditional formatting Question

Lmaonade

Board Regular
Joined
Jan 5, 2018
Messages
52
Untitled564564564.png


How do I set up conditional formatting for all of the cells between I and R to change to Green if the cell is above the target cells (C) and red if it's below. I can't seem to find a way without setting it up for every single row individually. I realise this is probably something simple but I am quite new to this.

Thanks,
Andy
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Select the whole range that you want to apply it to at once, and then write the formula as it applies to the very first cell in your selection.
Be sure to use absolute range references for the parts of the range that you do not want to float/change.

For example, if the first cell in your selection is I2, and you are checking to see if it is above the value in C2, the Conditional Formatting formula would look something like:
Code:
=I2>$C2
By "locking down" the column reference (C), that ensures that all other cells in your range will allows look at column C also.

See here if you are unfamiliar with locking down parts of range references: http://www.cpearson.com/excel/relative.aspx
 
Upvote 0
Dear Lmaonade! Simple Select Range From I2 : R35 or where you data ends,

>> Go to Conditional Formatting
>> Select Greater Then
>> Select C2 in which there are target Value
>> Type $C2 instead simple C2.
>> You will got you desired Result.
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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