Conditional Formatting of one range of cells based on another range of cells

Mr_Phil

Board Regular
Joined
May 28, 2018
Messages
142
Office Version
  1. 365
My mind isn't wrapping around why this isn't working.

I need to change the format of B8:F8 if O9:eek:13 does not equal zero.
To be clear B8 only looks at O9, c8 looks at o10, ... f8 looks a o13

I told my friend "sure I can help". And now I can't seem to make it work. Not getting it.

I did the rule as o9 <> 0 and B8 changed format but it won't copy across.
 

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.
Try:

Book1
BCDEFGO
8abcde
91
102
110
120
133
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B8:F8Expression=INDEX($O$9:$O$13,COLUMNS($B:B))<>0textNO
 
Upvote 0
Not important but the "<>0" comparison should not be needed.

24 03 02.xlsm
BCDEFGO
8abcde
91
102
110
120
133
CF not 0
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B8:F8Expression=INDEX($O$9:$O$13,COLUMNS($B:B))textNO
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,681
Members
449,116
Latest member
HypnoFant

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