Hi!
I have a large dataset consisting of column A and B. In column A there is an ID that represents a voyage. In column B I have names on the persons that were on the different voyages. I want to calculate how many unique persons that were on the different voyages. How do I do that?
Below I have shown a small table to give an idea of how it looks.
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Peter[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jacob[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Michael[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jens[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Jens[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Trevor[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Peter[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Jacob[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Michael[/TD]
[/TR]
</tbody>[/TABLE]
Hope someone can help.
Thank you!
I have a large dataset consisting of column A and B. In column A there is an ID that represents a voyage. In column B I have names on the persons that were on the different voyages. I want to calculate how many unique persons that were on the different voyages. How do I do that?
Below I have shown a small table to give an idea of how it looks.
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Peter[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jacob[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Michael[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jens[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Jens[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Trevor[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Peter[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Jacob[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Michael[/TD]
[/TR]
</tbody>[/TABLE]
Hope someone can help.
Thank you!