Conditional Formatting

Kariba

Board Regular
Joined
Mar 15, 2023
Messages
57
Office Version
  1. 365
Platform
  1. Windows
I have set up some conditional formatting. This checks column C for a match to "DER" and if it does it checks for anything that doesn't match on a separate sheet called "DOR". 99% of them work correctly and highlight anything missing from the DOR sheet, but a few don't eg ABC1826 below highlights as missing when it isn't. Both are correctly listed on DOR sheet and aren't missing but unsure why ABC1825 works and ABC1826 doesn't. Everything appears identical on both including cell formats etc

Any ideas what else to check?

14Dec.xlsm
BC
202ABC1825DER
203ABC1826DER
EZY Allocations
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B4:B274Expression=IF(C4="DER", COUNTIF(DOR!$A$7:$A$1000,B4)=0, "")textNO
C4:C274Cell Value="DER"textNO
B4:M274Expression=$G4<>$G3textNO
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
If you're testing for 2 conditions in your first expression, you should use an AND() function: try the following:
=AND(C4="DER", COUNTIF(DOR!$A$7:$A$1000,B4)=0)
 
Upvote 0
Solution
I tried that. Still showing ABC1826 in red meaning it's missing from sheet DOR when it isn't.
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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