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:

WORKSHEET
Tab1Tab2
Column AColumn A
ABC Co
ABC Co
DEF CoGHI Co
GHI CoJKL Co
JKL Co

<tbody>
</tbody>

<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>
</tbody>
DEF Co would be highlighted in Yellow because it does not show up on Tab2.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,215,727
Messages
6,126,519
Members
449,316
Latest member
sravya

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