Conditional Format - highlight if certain criteria in sheet 4 met, but is not in sheet 6

surkdidat

Well-known Member
Joined
Oct 1, 2011
Messages
594
Office Version
  1. 365
Hi all

Thanks in advance for everyone's continuous help on this forum!

What I am after is some conditional formatting on Tab 4 that will highlight the value in that row (Column E) IF its is a TYPE_1, and the value and code is NOT on Tab 6,

So, in Tab 4, for example, I would need the first row to highlight the value (Colour) if the code (12345) and Value (Colour) is NOT on Tab 6.

So, the rule only applies to anything that is a TYPE_1 (Column I)
Row 1 would NOT need to be highlighted as the code (12345) and Value (Colour) appear in Tab 6
Row 2 would NOT need to be highlighted as a TYPE_2
Row 3 WOULD need to be highlighted, as it is a TYPE_1 but the code (12345) and Value (Country) do not appear on any row in Tab 6

I hope that makes sense
(The "Breed" on Tab 6 is just an example that other data may appear in Tab 6 that does NOT need to be in Tab 4, or highlighted)
Column AColumn BColumn CColumn DColumn EColumn FColumn GColumn HColumn I
CodeCodeNameValueType
Row 112345HorsesColourTYPE_1
Row 212345HorsesSizeTYPE_2
12345HorsesCountryTYPE_1

TAB 6
Column AColumn BColumn CColumn DColumn EColumn F
CodeCodeNameValue
12345HorsesColour
12345HorsesBreed
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
** {PLEASE IGNORE - I HAVE WORKED OUT THE SOLUTION **)

Excel Formula:
=ISERROR(AND(MATCH(C2,'TAB6'!$D:$D,0),MATCH(E2,'TAB6'!$F:$F,0),I2="TYPE1"))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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