Formula to compare (2) formatted table

bruce24444

New Member
Joined
Feb 15, 2010
Messages
40
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have a worksheet to which I import data from (2) separate data sources to.
One imports to MS_Data (table) and the other to XA_Data (table). I then have a 3rd sheet with an IC_List (table) which takes data from each of the data set and combines it into a single worksheet.

If the item number exists in both MS_Data and XA_Data, I want the IC_List to indicate "Yes" or "No"

This is the formula I've been working with but it equals No all the time

=IF(ISERROR(VLOOKUP([@[Item Number]],XA_Data[Item '#],1,FALSE)),"No","Yes")

[@[Item Number]] =MS_Data!A4 and so on
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Click XL2BB icon
Install the add-in
Use it to copy and paste your table or mock-up table so that helpers here can see how your table structure looks like. You will get response faster that way.
 
Upvote 0
Thanks for the response Zot, but I figured it out
=IF(COUNTIF(XA_Data[Claim '#],[@Claim])=0, "No", "Yes")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,819
Messages
6,121,746
Members
449,050
Latest member
excelknuckles

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