Highlight matches from another sheet

SaraWitch

Active Member
Joined
Sep 29, 2015
Messages
322
Office Version
  1. 365
Platform
  1. Windows
Hello peeps.

I have two sheets that are both filtered which I want to compare to see what's missing.

In Sheet2, I have conditionally formatted column BB to match with column A in Sheet1 (and applied to =$B:$B):

VBA Code:
=NOT(ISERROR(MATCH(BB6,Sheet1!$A:$A,0)))

But there are matches that are not highlighting in Sheet2.

I can't upload the workbook as it contains sensitive information, but any help would be appreciated if anything is jumping out to anyone...

Ta muchly! :giggle:
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Since you can't post the sheet, we can't help much. I do have one suggestion, add a trim to your match formula, and see i that helps. Trim both the lookup value and the matching value, in the formula.
 
Upvote 0
If you have applied the CF to the whole column, you need to use BB1 not BB6 as it must refer to the 1st row in the applies to range.
 
Upvote 0
Solution
Of course! It's always so simple when I'm given the answer! ;) Thank you so much, @Fluff :giggle:
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,136
Messages
6,123,246
Members
449,093
Latest member
Vincent Khandagale

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