I need help in finding duplications within different tables within different sheets.
Sheet 1, shows an table (column A:F) as the following below:
1. US31397EWR25 FHR 3281 FT ABS CVR 10-16 11,220,000
2. US31397YTK72 FHR 3500 SE RMBS TALK 10-16 21,933,000
3. US31397PM493 FHR 3397 GS RMBS TALK 16-08 25,289,000
4. US31396VP850 FNR 2007-42 SD RMBS TALK 16-16 18,985,000
5. US31396YTV47 FNR 2008-20 SA RMBS TALK 13-16 13,359,000
6. US31395NN458 FNR 2006-58 SQ RMBS TALK 14-16 10,588,000
7. US31396PFR73 FNR 2006-124 SC RMBS TALK 15-00 21,509,000
8. US31396PVQ17 FNR 2007-23 SI RMBS TALK 16-00 20,115,000
9. US31396W3B04 FNR 2007-75 PI RMBS TALK 17-00 39,740,000
10. US31397WZL26 FHR 2009 GH CMBS TALK 15-45 13,675,000
Sheet 2, shows the same table (column A:F) as above. However due to some other calculation the table is formatted longer in length, such as seen below:
3. US31397EWR25 FHR 3281 CI RMBS TALK 15-16 11,220,000
4. US31397YTK72 FHR 3500 SE RMBS TALK 10-16 21,933,000
5. US31397PM493 FHR 3397 GS RMBS TALK 16-08 25,289,000
6. US31396VP850 FNR 2007-42 SD RMBS TALK 16-16 18,985,000
7. US31396YTV47 FNR 2008-20 SA RMBS TALK 13-16 13,359,000
8. US31395NN458 FNR 2006-58 SQ RMBS TALK 14-16 10,588,000
9. US31396PFR73 FNR 2006-124 SC RMBS TALK 15-00 21,509,000
10. US31396PVQ17 FNR 2007-23 SI RMBS TALK 16-00 20,115,000
11. US31396W3B04 FNR 2007-75 PI RMBS TALK 17-00 39,740,000
12. US31397WZL26 FHR 3485 SI RMBS TALK 15-00 13,675,000
I want to know, how can I show in sheet 2 table the duplication from sheet 1 table using the excel VBA.
The output is shown in sheet 2, through highlighting the same duplications as the table in sheet 1:
Sheet 2:
3. US31397EWR25 FHR 3281 CI RMBS TALK 15-16 11,220,000
4. US31397YTK72 FHR 3500 SE RMBS TALK 10-16 21,933,000
5. US31397PM493 FHR 3397 GS RMBS TALK 16-08 25,289,000
6. US31396VP850 FNR 2007-42 SD RMBS TALK 16-16 18,985,000
7. US31396YTV47 FNR 2008-20 SA RMBS TALK 13-16 13,359,000
8. US31395NN458 FNR 2006-58 SQ RMBS TALK 14-16 10,588,000
9. US31396PFR73 FNR 2006-124 SC RMBS TALK 15-00 21,509,000
10. US31396PVQ17 FNR 2007-23 SI RMBS TALK 16-00 20,115,000
11. US31396W3B04 FNR 2007-75 PI RMBS TALK 17-00 39,740,000
12. US31397WZL26 FHR 3485 SI RMBS TALK 15-00 13,675,000
Row 3 and 12 are different due to the difference between sheet 1 and sheet 2 tables.
Thank you for your time and help.
Bookmarks