How to create conditional formatting based on other conditional formatting?

skhandelwal

New Member
Joined
Nov 19, 2021
Messages
13
Platform
  1. Windows
So I need a create a conditional formatting to color this cell blue if conditional formatting on other cells are painted blue and more complicated versions of this. Thanks!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I'm not trying to use them together. Conditional formatting is already done on row. I'm trying to highlight 1 cell if if conditional formatting is met on 3 others. Or if its not met on 1 of them, if it is met on another to compensate for it.
 
Upvote 0
Conditional formatting runs off of values, not cell formatting.
So if you wanted to run Conditional Formatting off of Conditional Formatting, you would have to do so indirectly by running it off of the same rules as the first Conditional Formatting (so you would combine both sets of rules together).

For example, let's say that you have conditional formatting on cells A1, B1, and C1 that makes it blue if the value is greater than 0.
If you then wanted to conditionally format cell D1 if all three cells (A1, B1, and C1) are formatted blue, you would do so NOT by looking at their color, but the rule behind the color.
So you would use the conditional fomatting rule on D1 of:
Excel Formula:
=AND(A1>0,B1>0,C1>0)
(all three other rules combined together in one "AND" statement, just like Toadstool said).
 
Upvote 0
Hi skhandelwal,

@Joe4 just said it, but I was working on an example so here it is. If the other Conditional Formats are using formulae then you can just use the same formulae with an AND statement.

Here block one highlights amber if it is a value less than the cell below.
Block two highlights if its contents are different to the cell below.
Block three highlights if the same position in blocks one and two are highlighted and the contents of this cell are "Y".

skhandelwal.xlsx
ABCDEFGHIJK
1Block 1Block 2Block 3
222231YYNYYN
325127YYYYYY
41623NNNNNN
5192021YYYYYY
621415YNYYNY
731718NYYNYY
81202NNNNNN
9123YNNYNN
10
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I2:K9Expression=AND(I2="Y",A2<A3,E2<>E3)textNO
E2:G9Expression=E2<>E3textNO
A2:C9Expression=A2<A3textNO
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,545
Members
449,089
Latest member
davidcom

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