Vlookup to compare difference between 2 different sheets

greenhillchris

New Member
Joined
Mar 5, 2022
Messages
18
Office Version
  1. 365
Hello,

I am trying to use a vlookup to compare the difference between 2 different sheets.

In a workbook I have a master sheet and a data sheet, and each sheet has the same 3 columns A, B and C of data. The data sheet will be updated regularly and what I am looking to do is on the master sheet highlight the difference in column A in the data sheet.

Each cell in column A will either contain a Yes, No or be empty, when column A in the data sheet displays a yes only, I want the master sheet to recognise only this difference.

For example if in the data sheet A3 has a Yes entered but on the master sheet there is no yes in A3 then I want it to recognise the difference.

I have tried a Vlookup but it is also picking up the no and empty cells and displaying it as a difference on the master sheet. Is there a way I can I can just highlight the difference when the word is yes.

Hope this makes sense.

Thanks for any help you can give me
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Maybe something like this:

Mater Sheet
Book1
AB
1noNo Match
2yes 
3No Match
4yes 
5no 
Sheet1
Cell Formulas
RangeFormula
B1:B5B1=IF(ISNA(IF(Data!A1="yes",VLOOKUP(Data!A1,A1,1,0),"")),"No Match","")


Data Sheet
Book1
A
1yes
2no
3yes
4yes
5no
Data
 
Upvote 0
Solution

Forum statistics

Threads
1,214,912
Messages
6,122,204
Members
449,072
Latest member
DW Draft

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