Country_Calc
New Member
- Joined
- Feb 14, 2017
- Messages
- 48
- Office Version
- 365
I need to calculate the sum of values between sets of parentheses with specific text strings (which are 3 letter country codes) within the same cell.
Here is the how the data is made available. This has to be across multiple rows.
Source Data
[TABLE="width: 500"]
<tbody>[TR]
[TD]BGR (1), CZE (5), DEU (9), NLD (6), POL (4), RUS (3), ZAF (8), GBR (15)[/TD]
[/TR]
[TR]
[TD]RUS (4), ESP (5), SWE (3), UKR (8), GBR (4)[/TD]
[/TR]
</tbody>[/TABLE]
Desired Result on another worksheet
[TABLE="width: 500"]
<tbody>[TR]
[TD]CZE[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]RUS[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]GBR[/TD]
[TD]19[/TD]
[/TR]
</tbody>[/TABLE]
I tried to search the board, but all the examples I found only had to deal with 1 set of parentheses per cell.
Please let me know if this is possible.
Here is the how the data is made available. This has to be across multiple rows.
Source Data
[TABLE="width: 500"]
<tbody>[TR]
[TD]BGR (1), CZE (5), DEU (9), NLD (6), POL (4), RUS (3), ZAF (8), GBR (15)[/TD]
[/TR]
[TR]
[TD]RUS (4), ESP (5), SWE (3), UKR (8), GBR (4)[/TD]
[/TR]
</tbody>[/TABLE]
Desired Result on another worksheet
[TABLE="width: 500"]
<tbody>[TR]
[TD]CZE[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]RUS[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]GBR[/TD]
[TD]19[/TD]
[/TR]
</tbody>[/TABLE]
I tried to search the board, but all the examples I found only had to deal with 1 set of parentheses per cell.
Please let me know if this is possible.