Comparing sheets

Miguelluis

New Member
Joined
Jan 29, 2013
Messages
45
Hi, I need to maintain a list of clients for a specific purpose.

For this I receive a daily report with a list of clients that fit into this criteria and I need to identify when the daily report and the clients it contains changes. I need to identify when clients appear on the report as well when they disappear.

Let's say the daily report contains this data:

[TABLE="class: grid, width: 407"]
<tbody>[TR]
[TD]Client ID[/TD]
[TD]Category[/TD]
[TD]Registered Address[/TD]
[/TR]
[TR]
[TD="align: right"]123456[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[/TR]
[TR]
[TD="align: right"]123457[/TD]
[TD]Person[/TD]
[TD]PK[/TD]
[/TR]
[TR]
[TD="align: right"]123458[/TD]
[TD]Person[/TD]
[TD]VE[/TD]
[/TR]
[TR]
[TD="align: right"]123459[/TD]
[TD]Person[/TD]
[TD]TH[/TD]
[/TR]
[TR]
[TD="align: right"]123460[/TD]
[TD]Person[/TD]
[TD]ZW[/TD]
[/TR]
[TR]
[TD="align: right"]123461[/TD]
[TD]Person[/TD]
[TD]KE[/TD]
[/TR]
[TR]
[TD="align: right"]123462[/TD]
[TD]Person[/TD]
[TD]MW[/TD]
[/TR]
[TR]
[TD="align: right"]123463[/TD]
[TD]Person[/TD]
[TD]TH[/TD]
[/TR]
[TR]
[TD="align: right"]123464[/TD]
[TD]Person[/TD]
[TD]UG[/TD]
[/TR]
[TR]
[TD="align: right"]123465[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[/TR]
[TR]
[TD="align: right"]123466[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[/TR]
[TR]
[TD="align: right"]123467[/TD]
[TD]Person[/TD]
[TD]EC[/TD]
[/TR]
[TR]
[TD="align: right"]123468[/TD]
[TD]Person[/TD]
[TD]PK[/TD]
[/TR]
[TR]
[TD="align: right"]123469[/TD]
[TD]Person[/TD]
[TD]TH[/TD]
[/TR]
[TR]
[TD="align: right"]123470[/TD]
[TD]Person[/TD]
[TD]EG[/TD]
[/TR]
[TR]
[TD="align: right"]123471[/TD]
[TD]Person[/TD]
[TD]MM[/TD]
[/TR]
[TR]
[TD="align: right"]123472[/TD]
[TD]Person[/TD]
[TD]JM[/TD]
[/TR]
[TR]
[TD="align: right"]123473[/TD]
[TD]Person[/TD]
[TD]ZM[/TD]
[/TR]
[TR]
[TD="align: right"]123474[/TD]
[TD]Person[/TD]
[TD]KE[/TD]
[/TR]
[TR]
[TD="align: right"]123456[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[/TR]
[TR]
[TD="align: right"]123456[/TD]
[TD]Person[/TD]
[TD]IR[/TD]
[/TR]
</tbody>[/TABLE]

What I had in mind is having a front sheet called "Client Database" on a workbook called "Client List" , then when I copy the daily report into another sheet maybe called "Daily Report" into the same workbook the "Client Database" sheet would appear like shown below:
[TABLE="class: grid, width: 508"]
<tbody>[TR]
[TD]Client ID[/TD]
[TD]Category[/TD]
[TD]Registered Address[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD="align: right"]123456[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]123457[/TD]
[TD]Person[/TD]
[TD]PK[/TD]
[TD]Deleted[/TD]
[/TR]
[TR]
[TD="align: right"]123458[/TD]
[TD]Person[/TD]
[TD]VE[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123459[/TD]
[TD]Person[/TD]
[TD]TH[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123460[/TD]
[TD]Person[/TD]
[TD]ZW[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123461[/TD]
[TD]Person[/TD]
[TD]KE[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123462[/TD]
[TD]Person[/TD]
[TD]MW[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123463[/TD]
[TD]Person[/TD]
[TD]TH[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123464[/TD]
[TD]Person[/TD]
[TD]UG[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123465[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]123466[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123467[/TD]
[TD]Person[/TD]
[TD]EC[/TD]
[TD]Deleted[/TD]
[/TR]
[TR]
[TD="align: right"]123468[/TD]
[TD]Person[/TD]
[TD]PK[/TD]
[TD]Deleted[/TD]
[/TR]
[TR]
[TD="align: right"]123469[/TD]
[TD]Person[/TD]
[TD]TH[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]123470[/TD]
[TD]Person[/TD]
[TD]EG[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123471[/TD]
[TD]Person[/TD]
[TD]MM[/TD]
[TD]Deleted[/TD]
[/TR]
[TR]
[TD="align: right"]123472[/TD]
[TD]Person[/TD]
[TD]JM[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123473[/TD]
[TD]Person[/TD]
[TD]ZM[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]123474[/TD]
[TD]Person[/TD]
[TD]KE[/TD]
[TD]No Change[/TD]
[/TR]
[TR]
[TD="align: right"]123456[/TD]
[TD]Person[/TD]
[TD]NG[/TD]
[TD]Deleted[/TD]
[/TR]
[TR]
[TD="align: right"]123456[/TD]
[TD]Person[/TD]
[TD]IR[/TD]
[TD]No Change[/TD]
[/TR]
</tbody>[/TABLE]

The No change is where the client ID is on the front sheet and on the daily report
The New is when the client ID is on the daily report but not on the "client database" sheet
The Deleted is when the client is on the "client database" but not on the daily report.

Is this possible? I've looked online but I can't find anything that fits this.

Any help will be amazing, thanks.
Miguel
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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