Comparing rows on two sheets with ID.

Sladhued

New Member
Joined
Aug 4, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I have two sheets with information like in the picture. (sheet 1 and 2)
Sheet 1 is old information and sheet 2 is new information.

Column A is the ID of the row.

What i would like, is a comparision between the two sheets, where it would check for added and removed ID's (Column A), or if a row with said ID have a changed date (Column C and D).

The rows it has found that is added or changed should then be put in sheet 3.

the rows that are removed should be put in sheet 4.

Can anyone help with this code? I can only make it so that it looks for added or removed rows, so I am at a loss.
 

Attachments

  • EX.png
    EX.png
    125.6 KB · Views: 16

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.

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

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