Hi all,
I have long a list of entities with a unique code, and the countries where they are represented.
I want to discard all "GB" and then list all counties per entity in one row. See example.
I tried out with arrays but couldn't figure it out.
[TABLE="width: 0"]
[TR]
[TD]INPUT
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Desired Output
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ISIN
[/TD]
[TD]Country
[/TD]
[TD][/TD]
[TD]ISIN
[/TD]
[TD]Countries
[/TD]
[/TR]
[TR]
[TD]SE0000900169
[/TD]
[TD]GB
[/TD]
[TD][/TD]
[TD]SE0000900169
[/TD]
[TD]SE
[/TD]
[/TR]
[TR]
[TD]SE0000900169
[/TD]
[TD]SE
[/TD]
[TD][/TD]
[TD]SE0008103071
[/TD]
[TD]NO, SE
[/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]GB
[/TD]
[TD][/TD]
[TD]SE0011338441
[/TD]
[TD]FI, LU, SE
[/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]NO
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]NO
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]SE
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]FI
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]FI
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]GB
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]LU
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]SE
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
Does anyone have a good idea on how to perform this?
Regards
Tobias
I have long a list of entities with a unique code, and the countries where they are represented.
I want to discard all "GB" and then list all counties per entity in one row. See example.
I tried out with arrays but couldn't figure it out.
[TABLE="width: 0"]
[TR]
[TD]INPUT
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Desired Output
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ISIN
[/TD]
[TD]Country
[/TD]
[TD][/TD]
[TD]ISIN
[/TD]
[TD]Countries
[/TD]
[/TR]
[TR]
[TD]SE0000900169
[/TD]
[TD]GB
[/TD]
[TD][/TD]
[TD]SE0000900169
[/TD]
[TD]SE
[/TD]
[/TR]
[TR]
[TD]SE0000900169
[/TD]
[TD]SE
[/TD]
[TD][/TD]
[TD]SE0008103071
[/TD]
[TD]NO, SE
[/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]GB
[/TD]
[TD][/TD]
[TD]SE0011338441
[/TD]
[TD]FI, LU, SE
[/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]NO
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]NO
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0008103071
[/TD]
[TD]SE
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]FI
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]FI
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]GB
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]LU
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SE0011338441
[/TD]
[TD]SE
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
Does anyone have a good idea on how to perform this?
Regards
Tobias