whereswaller
New Member
- Joined
- Aug 27, 2013
- Messages
- 12
Hi,
I am trying to create a table that summarises the number of times a name appears in a range (in this case an entire column, A:A) that has delimiter (in this case a forward slash) structured data.
Example dataset
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Tiger Woods / Greg Norman[/TD]
[/TR]
[TR]
[TD]Greg Norman[/TD]
[/TR]
[TR]
[TD]Tiger Woods / Ernie Els[/TD]
[/TR]
[TR]
[TD]Ernie Els / Greg Norman / Tiger Woods[/TD]
[/TR]
</tbody>[/TABLE]
Example desired output
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Greg Norman[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Tiger Woods[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Ernie Els[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Is there any way I can achieve this?
Note, the names in the dataset can change so I would like to avoid hardcoding the names and simply using a COUNTIF function to achieve the output.
Many thanks for any help you can provide,
James
I am trying to create a table that summarises the number of times a name appears in a range (in this case an entire column, A:A) that has delimiter (in this case a forward slash) structured data.
Example dataset
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Tiger Woods / Greg Norman[/TD]
[/TR]
[TR]
[TD]Greg Norman[/TD]
[/TR]
[TR]
[TD]Tiger Woods / Ernie Els[/TD]
[/TR]
[TR]
[TD]Ernie Els / Greg Norman / Tiger Woods[/TD]
[/TR]
</tbody>[/TABLE]
Example desired output
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Greg Norman[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Tiger Woods[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Ernie Els[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Is there any way I can achieve this?
Note, the names in the dataset can change so I would like to avoid hardcoding the names and simply using a COUNTIF function to achieve the output.
Many thanks for any help you can provide,
James