dgray21781
New Member
- Joined
- Aug 29, 2015
- Messages
- 7
Hello,
I have a spreadsheet with 15 columns and over 700 rows. I would like to highlight duplicate values within each of the rows. There may be more than one duplicate. I have copied some of the data below.
For example Southampton and St Peter Port may be duplicated on the same row. I would like them to be in separate colours and using VBA not condition formatting.
[TABLE="width: 1437"]
<colgroup><col><col><col><col><col span="6"><col span="2"><col></colgroup><tbody>[TR]
[TD]01-Jun-19[/TD]
[TD]Sat[/TD]
[TD]St Petersburg[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] Santorini[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Oslo[/TD]
[/TR]
[TR]
[TD]02-Jun-19[/TD]
[TD]Sun[/TD]
[TD]St Petersburg[/TD]
[TD]Barcelona[/TD]
[TD] [/TD]
[TD]St Peter Port[/TD]
[TD] [/TD]
[TD] Piraeus[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Tracy Arm/Juneau[/TD]
[TD] [/TD]
[TD]Kristiansand[/TD]
[/TR]
[TR]
[TD]03-Jun-19[/TD]
[TD]Mon[/TD]
[TD]Helsinki[/TD]
[TD] [/TD]
[TD]Stavanger[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] Souda Bay[/TD]
[TD]Ponta Delgada[/TD]
[TD] [/TD]
[TD]Skagway[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]04-Jun-19[/TD]
[TD]Tue[/TD]
[TD]Stockholm[/TD]
[TD]Genoa[/TD]
[TD]Flaam[/TD]
[TD]Zeebrugge[/TD]
[TD] [/TD]
[TD] Katakolon[/TD]
[TD]Praia da Vitoria[/TD]
[TD] [/TD]
[TD]Hubbard Glacier[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[/TR]
[TR]
[TD]05-Jun-19[/TD]
[TD]Wed[/TD]
[TD] [/TD]
[TD]Civitavecchia[/TD]
[TD]Alesund[/TD]
[TD]Rotterdam[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] Gibraltar[/TD]
[TD]Icy Strait Point[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]06-Jun-19[/TD]
[TD]Thu[/TD]
[TD]Warnemunde[/TD]
[TD]Sorrento[/TD]
[TD]Bergen[/TD]
[TD]Rotterdam[/TD]
[TD] [/TD]
[TD]Valletta[/TD]
[TD] [/TD]
[TD]Cartagena (ES)[/TD]
[TD]Sitka[/TD]
[TD] [/TD]
[TD]Greenock[/TD]
[/TR]
[TR]
[TD]07-Jun-19[/TD]
[TD]Fri[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Madeira[/TD]
[TD] [/TD]
[TD]Ketchikan[/TD]
[TD]New York[/TD]
[TD]Oban[/TD]
[/TR]
[TR]
[TD]08-Jun-19[/TD]
[TD]Sat[/TD]
[TD] [/TD]
[TD]Mallorca[/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] Kotor[/TD]
[TD]La Palma[/TD]
[TD]Marseilles[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Isle of Skye (SC)[/TD]
[/TR]
[TR]
[TD]09-Jun-19[/TD]
[TD]Sun[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] Split[/TD]
[TD]Gran Canaria[/TD]
[TD]Monte Carlo[/TD]
[TD]Victoria[/TD]
[TD] [/TD]
[TD]Kirkwall[/TD]
[/TR]
[TR]
[TD]10-Jun-19[/TD]
[TD]Mon[/TD]
[TD] [/TD]
[TD]Gibraltar[/TD]
[TD] [/TD]
[TD]Stavanger[/TD]
[TD] [/TD]
[TD] Venice[/TD]
[TD]Lanzarote[/TD]
[TD]Ajaccio[/TD]
[TD]Vancouver[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]11-Jun-19[/TD]
[TD]Tue[/TD]
[TD]Haugesund[/TD]
[TD]Lisbon[/TD]
[TD]Warnemunde[/TD]
[TD]Flaam[/TD]
[TD] [/TD]
[TD] Zadar[/TD]
[TD] [/TD]
[TD]Barcelona[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Dublin[/TD]
[/TR]
[TR]
[TD]12-Jun-19[/TD]
[TD]Wed[/TD]
[TD]Skjolden[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Olden[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Lisbon[/TD]
[TD] [/TD]
[TD]Ketchikan[/TD]
[TD] [/TD]
[TD]Liverpool[/TD]
[/TR]
[TR]
[TD]13-Jun-19[/TD]
[TD]Thu[/TD]
[TD]Alesund[/TD]
[TD] [/TD]
[TD]Helsinki[/TD]
[TD]Bergen[/TD]
[TD] [/TD]
[TD]Valletta[/TD]
[TD] [/TD]
[TD]Cadiz[/TD]
[TD]Tracy Arm/Juneau[/TD]
[TD] [/TD]
[TD]Cobh[/TD]
[/TR]
[TR]
[TD]14-Jun-19[/TD]
[TD]Fri[/TD]
[TD]Trondheim[/TD]
[TD]Southampton[/TD]
[TD]St Petersburg[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Messina Strait[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Skagway[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]15-Jun-19[/TD]
[TD]Sat[/TD]
[TD]Hellesylt[/TD]
[TD] [/TD]
[TD]St Petersburg[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD]Naples[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD]Icy Strait Point[/TD]
[TD] [/TD]
[TD]St Peter Port[/TD]
[/TR]
[TR]
[TD]16-Jun-19[/TD]
[TD]Sun[/TD]
[TD]Geiranger[/TD]
[TD]Santander[/TD]
[TD]Tallinn[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Civitavecchia[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Hubbard Glacier[/TD]
[TD]Hamburg[/TD]
[TD]Southampton[/TD]
[/TR]
[TR]
[TD]17-Jun-19[/TD]
[TD]Mon[/TD]
[TD]Olden[/TD]
[TD]Gijon[/TD]
[TD]Stockholm[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Ajaccio[/TD]
[TD]Killybegs[/TD]
[TD] [/TD]
[TD]Sitka[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]18-Jun-19[/TD]
[TD]Tue[/TD]
[TD]Bergen[/TD]
[TD]La Coruna[/TD]
[TD] [/TD]
[TD]Cadiz[/TD]
[TD] [/TD]
[TD]Olbia[/TD]
[TD]Greenock[/TD]
[TD]Stavanger[/TD]
[TD] [/TD]
[TD]Zeebrugge[/TD]
[TD]Haugesund[/TD]
[/TR]
[TR]
[TD]19-Jun-19[/TD]
[TD]Wed[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Copenhagen[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Alesund[/TD]
[TD]Victoria[/TD]
[TD]St Peter Port[/TD]
[TD]Olden[/TD]
[/TR]
[TR]
[TD]20-Jun-19[/TD]
[TD]Thu[/TD]
[TD] [/TD]
[TD]St Peter Port[/TD]
[TD] [/TD]
[TD]Barcelona[/TD]
[TD] [/TD]
[TD]Valletta[/TD]
[TD]Torshavn[/TD]
[TD]Olden[/TD]
[TD]Vancouver[/TD]
[TD] [/TD]
[TD]Flaam[/TD]
[/TR]
[TR]
[TD]21-Jun-19[/TD]
[TD]Fri[/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Lerwick[/TD]
[TD]Bergen[/TD]
[TD] [/TD]
[TD]Hamburg[/TD]
[TD]Bergen[/TD]
[/TR]
[TR]
[TD]22-Jun-19[/TD]
[TD]Sat[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Monte Carlo[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Kirkwall[/TD]
[TD] [/TD]
[TD]Ketchikan[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]23-Jun-19[/TD]
[TD]Sun[/TD]
[TD]St Peter Port[/TD]
[TD]St Peter Port[/TD]
[TD] [/TD]
[TD]Livorno[/TD]
[TD] [/TD]
[TD]Livorno[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Tracy Arm/Juneau[/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance.
I have a spreadsheet with 15 columns and over 700 rows. I would like to highlight duplicate values within each of the rows. There may be more than one duplicate. I have copied some of the data below.
For example Southampton and St Peter Port may be duplicated on the same row. I would like them to be in separate colours and using VBA not condition formatting.
[TABLE="width: 1437"]
<colgroup><col><col><col><col><col span="6"><col span="2"><col></colgroup><tbody>[TR]
[TD]01-Jun-19[/TD]
[TD]Sat[/TD]
[TD]St Petersburg[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] Santorini[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Oslo[/TD]
[/TR]
[TR]
[TD]02-Jun-19[/TD]
[TD]Sun[/TD]
[TD]St Petersburg[/TD]
[TD]Barcelona[/TD]
[TD] [/TD]
[TD]St Peter Port[/TD]
[TD] [/TD]
[TD] Piraeus[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Tracy Arm/Juneau[/TD]
[TD] [/TD]
[TD]Kristiansand[/TD]
[/TR]
[TR]
[TD]03-Jun-19[/TD]
[TD]Mon[/TD]
[TD]Helsinki[/TD]
[TD] [/TD]
[TD]Stavanger[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] Souda Bay[/TD]
[TD]Ponta Delgada[/TD]
[TD] [/TD]
[TD]Skagway[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]04-Jun-19[/TD]
[TD]Tue[/TD]
[TD]Stockholm[/TD]
[TD]Genoa[/TD]
[TD]Flaam[/TD]
[TD]Zeebrugge[/TD]
[TD] [/TD]
[TD] Katakolon[/TD]
[TD]Praia da Vitoria[/TD]
[TD] [/TD]
[TD]Hubbard Glacier[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[/TR]
[TR]
[TD]05-Jun-19[/TD]
[TD]Wed[/TD]
[TD] [/TD]
[TD]Civitavecchia[/TD]
[TD]Alesund[/TD]
[TD]Rotterdam[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] Gibraltar[/TD]
[TD]Icy Strait Point[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]06-Jun-19[/TD]
[TD]Thu[/TD]
[TD]Warnemunde[/TD]
[TD]Sorrento[/TD]
[TD]Bergen[/TD]
[TD]Rotterdam[/TD]
[TD] [/TD]
[TD]Valletta[/TD]
[TD] [/TD]
[TD]Cartagena (ES)[/TD]
[TD]Sitka[/TD]
[TD] [/TD]
[TD]Greenock[/TD]
[/TR]
[TR]
[TD]07-Jun-19[/TD]
[TD]Fri[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Madeira[/TD]
[TD] [/TD]
[TD]Ketchikan[/TD]
[TD]New York[/TD]
[TD]Oban[/TD]
[/TR]
[TR]
[TD]08-Jun-19[/TD]
[TD]Sat[/TD]
[TD] [/TD]
[TD]Mallorca[/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] Kotor[/TD]
[TD]La Palma[/TD]
[TD]Marseilles[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Isle of Skye (SC)[/TD]
[/TR]
[TR]
[TD]09-Jun-19[/TD]
[TD]Sun[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] Split[/TD]
[TD]Gran Canaria[/TD]
[TD]Monte Carlo[/TD]
[TD]Victoria[/TD]
[TD] [/TD]
[TD]Kirkwall[/TD]
[/TR]
[TR]
[TD]10-Jun-19[/TD]
[TD]Mon[/TD]
[TD] [/TD]
[TD]Gibraltar[/TD]
[TD] [/TD]
[TD]Stavanger[/TD]
[TD] [/TD]
[TD] Venice[/TD]
[TD]Lanzarote[/TD]
[TD]Ajaccio[/TD]
[TD]Vancouver[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]11-Jun-19[/TD]
[TD]Tue[/TD]
[TD]Haugesund[/TD]
[TD]Lisbon[/TD]
[TD]Warnemunde[/TD]
[TD]Flaam[/TD]
[TD] [/TD]
[TD] Zadar[/TD]
[TD] [/TD]
[TD]Barcelona[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Dublin[/TD]
[/TR]
[TR]
[TD]12-Jun-19[/TD]
[TD]Wed[/TD]
[TD]Skjolden[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Olden[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Lisbon[/TD]
[TD] [/TD]
[TD]Ketchikan[/TD]
[TD] [/TD]
[TD]Liverpool[/TD]
[/TR]
[TR]
[TD]13-Jun-19[/TD]
[TD]Thu[/TD]
[TD]Alesund[/TD]
[TD] [/TD]
[TD]Helsinki[/TD]
[TD]Bergen[/TD]
[TD] [/TD]
[TD]Valletta[/TD]
[TD] [/TD]
[TD]Cadiz[/TD]
[TD]Tracy Arm/Juneau[/TD]
[TD] [/TD]
[TD]Cobh[/TD]
[/TR]
[TR]
[TD]14-Jun-19[/TD]
[TD]Fri[/TD]
[TD]Trondheim[/TD]
[TD]Southampton[/TD]
[TD]St Petersburg[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Messina Strait[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Skagway[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]15-Jun-19[/TD]
[TD]Sat[/TD]
[TD]Hellesylt[/TD]
[TD] [/TD]
[TD]St Petersburg[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD]Naples[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD]Icy Strait Point[/TD]
[TD] [/TD]
[TD]St Peter Port[/TD]
[/TR]
[TR]
[TD]16-Jun-19[/TD]
[TD]Sun[/TD]
[TD]Geiranger[/TD]
[TD]Santander[/TD]
[TD]Tallinn[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Civitavecchia[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Hubbard Glacier[/TD]
[TD]Hamburg[/TD]
[TD]Southampton[/TD]
[/TR]
[TR]
[TD]17-Jun-19[/TD]
[TD]Mon[/TD]
[TD]Olden[/TD]
[TD]Gijon[/TD]
[TD]Stockholm[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Ajaccio[/TD]
[TD]Killybegs[/TD]
[TD] [/TD]
[TD]Sitka[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]18-Jun-19[/TD]
[TD]Tue[/TD]
[TD]Bergen[/TD]
[TD]La Coruna[/TD]
[TD] [/TD]
[TD]Cadiz[/TD]
[TD] [/TD]
[TD]Olbia[/TD]
[TD]Greenock[/TD]
[TD]Stavanger[/TD]
[TD] [/TD]
[TD]Zeebrugge[/TD]
[TD]Haugesund[/TD]
[/TR]
[TR]
[TD]19-Jun-19[/TD]
[TD]Wed[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Copenhagen[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Alesund[/TD]
[TD]Victoria[/TD]
[TD]St Peter Port[/TD]
[TD]Olden[/TD]
[/TR]
[TR]
[TD]20-Jun-19[/TD]
[TD]Thu[/TD]
[TD] [/TD]
[TD]St Peter Port[/TD]
[TD] [/TD]
[TD]Barcelona[/TD]
[TD] [/TD]
[TD]Valletta[/TD]
[TD]Torshavn[/TD]
[TD]Olden[/TD]
[TD]Vancouver[/TD]
[TD] [/TD]
[TD]Flaam[/TD]
[/TR]
[TR]
[TD]21-Jun-19[/TD]
[TD]Fri[/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Lerwick[/TD]
[TD]Bergen[/TD]
[TD] [/TD]
[TD]Hamburg[/TD]
[TD]Bergen[/TD]
[/TR]
[TR]
[TD]22-Jun-19[/TD]
[TD]Sat[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Monte Carlo[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Kirkwall[/TD]
[TD] [/TD]
[TD]Ketchikan[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]23-Jun-19[/TD]
[TD]Sun[/TD]
[TD]St Peter Port[/TD]
[TD]St Peter Port[/TD]
[TD] [/TD]
[TD]Livorno[/TD]
[TD] [/TD]
[TD]Livorno[/TD]
[TD] [/TD]
[TD]Southampton[/TD]
[TD]Tracy Arm/Juneau[/TD]
[TD]Southampton[/TD]
[TD]Southampton[/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance.