Query - comparing columns from two worksheets

OscarK

New Member
Joined
Mar 6, 2002
Messages
3
I use excel to hold mailing info for our community's newsletter (Sheet1). There are several empty apartments & houses I don't want to create a mailing label for. I have acquired a list of vacant apartments (SHEET2) I would like run a query comparing data then writing to SHEET3 if the data isn't found on sheet2.
 

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
Depending on the size of you list you could use a vlookup.

Or, you could use microsoft query with an outer join that would return on the items in list onethat have a match in list 2.
 
Upvote 0
My list is about 1000 records, I would like to exclude records if I find a match on the other worksheet.
 
Upvote 0
Hi Oscar

Try this on sheet 3 starting from A2

=IF(ISNA(MATCH(Sheet2!A2,Sheet1!$A$1:$A$100,0)),Sheet1!A2,"")


This will pull in the names on sheet 1 that ARE NOT on sheet 2

After running this do a Copy Paste special-Values over the top of itself then just sort to remove blanks.



_________________
Kind Regards
Dave Hawley
OzGrid Business Applications
Microsoft Excel/VBA Training
OzGrid.BusApp.170x45.gif

This message was edited by Dave Hawley on 2002-03-12 23:18
 
Upvote 0
Thanks for the reply, I'm not sure
1463 NE Hawthorne Street1464 NE Katsura Street
1464 NE Katsura Street 1467 NE Hawthorne Street
1466 NE Katsura Street 1480 NE Katsura Street
1467 NE Hawthorne Street1491 NE Hawthorne Street
1468 NE Katsura Street 1500 NE Katsura Street
1470 NE Katsura Street 1501 NE Highmoor Court
1471 NE Hawthorne Street1505 16th Lane NE #101
1472 NE Katsura Street 1505 16th Lane NE #102
1474 NE Katsura Street 1505 16th Lane NE #202
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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