Applying conditional formatting in many sheets in the same workbook

Ramadan

New Member
Joined
Jan 20, 2024
Messages
3
Office Version
  1. 2021
Platform
  1. Windows
I use this formula in condition formatting to change the row color red based on matching value between 2 sheets in the same workbook =SUMPRODUCT(('Stop Work'!$D$8:$D$500=$C10)*('Stop Work'!$K$8:$K$500="Open"))

the formula says (if "D" in "stop work" sheet = any cell of "C" in this sheet and "K" in "stop work" sheet = "open" then color the row in red

and because this rule is repeated in many sheets in the same workbook and some cells value might be the same in other sheet so I get wrong result so I try to add another condition to make the formula check if the adjacent cell to "D" in stop work sheet "E" is equal to one fixed cell lets say "$A$5" in the active shhet ((for example (if C10 in this active sheet = one of "D" cells in stop work sheet and "K10" also in stop wrok sheet is ok = "open" so also to check if the adjacent cell "E10" in stop work sheet = A5 in this sheet)

I hope I could expalined it well

thank you in advance
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
I have tried this formula and it works

=SUMPRODUCT(('Stop Work'!$D$8:$D$500=$C10)('Stop Work'!$K$8:$K$500="Open")('Stop Work'!$C$8:$C$500=$B$2))

thank you anyway
 
Upvote 0
Solution

Forum statistics

Threads
1,224,763
Messages
6,180,822
Members
452,997
Latest member
gimamabe71

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