Conditional formatting offset based on columns

jaffacake

Board Regular
Joined
Oct 22, 2011
Messages
218
Hi all,

I'm struggling to phrase a conditional formatting formula correctly and i hope someone can help.

I'd like to apply the formatting to column K based on the value on the same row in column D i.e. If D2 = "Complete" then K2 is green...

A lot of the example use a static comparison but i need it to be dynamic and per row...

Any help would be appreciated!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Let's say the range you want to format is K2:K100.
Then do the following:

1. Select the Range K2:K100
2. Go to Conditional Formatting and click "New Rule"
3. Select the "Use a formula to determine which cells to format" option
4. Enter the following formula:
Excel Formula:
=$D2="Complete"
5. Select your desired formatting option (green color)
6. Click "OK"
 
Upvote 0
Solution
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,215,161
Messages
6,123,380
Members
449,097
Latest member
Jabe

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