New to Queries

lhernandez

Active Member
Joined
May 22, 2006
Messages
282
I have a spreadsheet with 600 lines of data split up into three columns: 1. Code 2. Description 3. Quantity. I now have a revised sheet with 1200 lines (600 are old & 600 are new). Can I use a query to compare the two sheets and show the lines that do not appear on both sheetsby the code column? And if so, how would I go about doing this?
Any help would be great, thank you
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi

Use a formula like:

=MATCH(Sheet2!A2,Sheet1!$A$2:$A$600,0)

copied down on your revised sheet which will return a number if it finds a match on Sheet1 and #N/A if not. An equivalent on Sheet1, pointing at the data range on Sheet2, would also give those on Sheet1 not on Sheet2.

Hope this helps!

Richard
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

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