Mahesh C A
New Member
- Joined
- Mar 27, 2018
- Messages
- 6
Dear Team,
Could you please help me to write VBA to identify duplicates and same has to highlight.
Please find below mentioned table to identify following duplicates and entire row should be highlighted.
Currently, I am using "CONCATENATE"(Country & Number) to identify duplicate and conditional format to highlight entire row as per status column.
[TABLE="width: 257"]
<tbody>[TR]
[TD]Country
[/TD]
[TD] Secuirty
[/TD]
[TD] Number
[/TD]
[TD]Satus
[/TD]
[/TR]
[TR]
[TD]GB
[/TD]
[TD] A1
[/TD]
[TD="align: right"]456
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]GB
[/TD]
[TD] A2
[/TD]
[TD="align: right"]456
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
[TR]
[TD]US
[/TD]
[TD] B1
[/TD]
[TD="align: right"]789
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]US
[/TD]
[TD] B2
[/TD]
[TD="align: right"]789
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
[TR]
[TD]EU
[/TD]
[TD] C1
[/TD]
[TD="align: right"]321
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]EU
[/TD]
[TD] C2
[/TD]
[TD="align: right"]321
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
[TR]
[TD]HK
[/TD]
[TD] D1
[/TD]
[TD="align: right"]951
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]HK
[/TD]
[TD] D2
[/TD]
[TD="align: right"]951
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in advance,
Best Regards,
Mahesh
Could you please help me to write VBA to identify duplicates and same has to highlight.
Please find below mentioned table to identify following duplicates and entire row should be highlighted.
Currently, I am using "CONCATENATE"(Country & Number) to identify duplicate and conditional format to highlight entire row as per status column.
[TABLE="width: 257"]
<tbody>[TR]
[TD]Country
[/TD]
[TD] Secuirty
[/TD]
[TD] Number
[/TD]
[TD]Satus
[/TD]
[/TR]
[TR]
[TD]GB
[/TD]
[TD] A1
[/TD]
[TD="align: right"]456
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]GB
[/TD]
[TD] A2
[/TD]
[TD="align: right"]456
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
[TR]
[TD]US
[/TD]
[TD] B1
[/TD]
[TD="align: right"]789
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]US
[/TD]
[TD] B2
[/TD]
[TD="align: right"]789
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
[TR]
[TD]EU
[/TD]
[TD] C1
[/TD]
[TD="align: right"]321
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]EU
[/TD]
[TD] C2
[/TD]
[TD="align: right"]321
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
[TR]
[TD]HK
[/TD]
[TD] D1
[/TD]
[TD="align: right"]951
[/TD]
[TD="align: center"]TRUE
[/TD]
[/TR]
[TR]
[TD]HK
[/TD]
[TD] D2
[/TD]
[TD="align: right"]951
[/TD]
[TD="align: center"]FALSE
[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in advance,
Best Regards,
Mahesh