Conditional formatting between two worksheets

skeller481

New Member
Joined
Jun 30, 2016
Messages
10
Hi - I have a large spreadsheet with multiple tabs in it. I'm looking for a conditional formatting solution for the following - I'll explain:

Say in my worksheet I have Tab1 and Tab2. Tab1 has a list of customers we work with based on submissions they send in. on Tab2, I keep track of these customers and their submit vs purchased history. However, unless I add the customers manually onto Tab2 they will not be listed. What I would like is for the customers on Tab1 who are not listed in Tab2 to highlight in yellow, preferably using a condition or a formula and not macros.

EX:

[TABLE="width: 289"]
<colgroup><col width="87" style="width:65pt"> <col width="64" style="width:48pt"> <col width="74" style="width:56pt"> <col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl66, width: 289, colspan: 4"][TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]WORKSHEET[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tab1[/TD]
[TD][/TD]
[TD]Tab2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Column A[/TD]
[TD][/TD]
[TD]Column A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ABC Co
[/TD]
[TD][/TD]
[TD]ABC Co[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DEF Co[/TD]
[TD][/TD]
[TD]GHI Co[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]GHI Co[/TD]
[TD][/TD]
[TD]JKL Co[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JKL Co[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
DEF Co would be highlighted in Yellow because it does not show up on Tab2.
 

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.
DEF Co would be highlighted in Yellow because it does not show up on Tab2.
Huh? The example shows red.


Enter the following formula in conditional formatting and set the desired format.

Code:
=COUNTIF(Tab2!A4:A6,"=" & A4)=0
 
Upvote 0
I couldn't get the text in my example to highlight yellow but that's what I'm looking for


Huh? The example shows red.


Enter the following formula in conditional formatting and set the desired format.

Code:
=COUNTIF(Tab2!A4:A6,"=" & A4)=0
 
Upvote 0
Don't need the "=" in there, also, lock the ranges...
=COUNTIF(Tab2!$A$4:$A$6,A4)=0
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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