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.
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.
INPUT | Desired Output | |||
ISIN | Country | ISIN | Countries | |
SE0000900169 | GB | SE0000900169 | SE | |
SE0000900169 | SE | SE0008103071 | NO, SE | |
SE0008103071 | GB | SE0011338441 | FI, LU, SE | |
SE0008103071 | NO | |||
SE0008103071 | NO | |||
SE0008103071 | SE | |||
SE0011338441 | FI | |||
SE0011338441 | FI | |||
SE0011338441 | GB | |||
SE0011338441 | LU | |||
SE0011338441 | SE |
Does anyone have a good idea on how to perform this?
Regards
Tobias