Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete/highlight duplicate row BASED ON 2 COLUMNS

Status
Not open for further replies.

asiavoices

Programmer
Sep 20, 2001
90
CA
Hello all,

I would like Excel to highlight or mark rows that are duplicate BASED ON 2 COLUMNS.

I have seen examples using 1 column and that is not what I want.

For example:

Region Boundary

A 1
A 2
A 3
A 1 <-- duplicate.
B 1
B 5
B 3
C 5
C 1
C 2
C 1 <-- duplicate.
D 2

etc. .....

My criteria is that a region can have the same name but have a different boundary ID.

The ideal scenario is to input a formula on a 3rd column the results of the comparison (0 for no and 1 for yes). I'll then do a filter based on 1s and delete those rows.

Any ideas?

Thanks,

Christopher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top