I have a worksheet in which one column of data contains pairs of competitor names which also appear reversed in the same column. E.g.
Alpha v Bravo
Alpha v Delta
Alpha v Echo
Bravo v Tango
Foxtrot v Delta
Delta v Alpha
Echo v Alpha
etc.
I require only one instance (row) of each pair of names (order of pair doesn't matter) and I would like to delete the surplus rows. How can I do this?
One way that springs to mind is to create an adjacent row with the names reversed (no problem). Then loop though this column one row at a time top to bottom looking for a match in the first column (nested loop of row +1 to bottom row) and deleting the row if matched. Would this work and what is the VBA I would need?
Alpha v Bravo
Alpha v Delta
Alpha v Echo
Bravo v Tango
Foxtrot v Delta
Delta v Alpha
Echo v Alpha
etc.
I require only one instance (row) of each pair of names (order of pair doesn't matter) and I would like to delete the surplus rows. How can I do this?
One way that springs to mind is to create an adjacent row with the names reversed (no problem). Then loop though this column one row at a time top to bottom looking for a match in the first column (nested loop of row +1 to bottom row) and deleting the row if matched. Would this work and what is the VBA I would need?