Non Match queries

LAURA HAUG

New Member
Joined
Apr 7, 2003
Messages
4
I am trying to match two files to find any members that are not duplicates, however, I need to use two fields in order to ensure that they are duplicates. I have been trying to utilize the unmatch query and it appears to allow only one field to be checked. Is there a way to do this. Currently, I have to export the files into Excel and write If-Then statements and the import them back into the database. Any Help!!! :( :(
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
This is what I generally do for this problem:
Write two separate queries each based off of one of the tables. Add a field to each query and concatenate (big word, it just means "squish together") the two fields that you're trying to find Dupes for. You do this by:
Code:
Name_Of_Your_New_Field:[Field1]&[Field2]
Of course, replacing the generic code above with the field names and what you want this new field to be called. Do the exact same thing in the query based off of the 2nd table. Now you can use the Unmatched Query wizard and match these two queries up by the concatenated fields!
 
Upvote 0

Forum statistics

Threads
1,221,553
Messages
6,160,468
Members
451,649
Latest member
fahad_ibnfurjan

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