Hi all,
I'm trying with formula to transpose a data which is in stacked in vertical way.
There are blocks grouped by the CODE. For instance group with CODE=ABC has several parameters and corresponding values. I'm interested in PARAM_2, 4, 5, 6 and 7.
* PARAMETER_5 sometimes the has more than one value and appear in same cell. In output I'd like to have them in different cells if possible.
* PARAMETER_7 could appear several times (repeated) but with different values.
Below I show the input, my current attempt with CHOOSECOLS(FILTER(...)) and the output I'm looking for. I hope make sense.
Thanks for any help.
I'm trying with formula to transpose a data which is in stacked in vertical way.
There are blocks grouped by the CODE. For instance group with CODE=ABC has several parameters and corresponding values. I'm interested in PARAM_2, 4, 5, 6 and 7.
* PARAMETER_5 sometimes the has more than one value and appear in same cell. In output I'd like to have them in different cells if possible.
* PARAMETER_7 could appear several times (repeated) but with different values.
Below I show the input, my current attempt with CHOOSECOLS(FILTER(...)) and the output I'm looking for. I hope make sense.
Thanks for any help.
TransposeData | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
1 | CODE | PARAMETER | VALUE | PARAM_2 | PARAM_4 | PARAM_5 | PARAM_6 | PARAM_7 | PARAM_2 | PARAM_4 | PARAM_5 | PARAM_6 | PARAM_7 | ||||
2 | ABC | PARAM_1 | ABC | 443151 | 8742 1087 4113 | 87305 | ABC | 443151 | 8742 | 87305 | 93552 | ||||||
3 | ABC | PARAM_2 | ABC | TTU | 30019 | 1881 | 87305 | 93552 | ABC | 1087 | 11573 | ||||||
4 | ABC | PARAM_3 | 11573 | ABC | 4113 | 44272 | |||||||||||
5 | ABC | PARAM_4 | 443151 | 44272 | ABC | 99827 | |||||||||||
6 | ABC | PARAM_5 | 8742 1087 4113 | 99827 | TTU | 30019 | 1881 | 87305 | 93552 | ||||||||
7 | ABC | PARAM_6 | 87305 | TTU | 11573 | ||||||||||||
8 | ABC | PARAM_7 | 93552 | ||||||||||||||
9 | ABC | PARAM_7 | 93552 | 11573 | |||||||||||||
10 | ABC | PARAM_7 | 11573 | ||||||||||||||
11 | ABC | PARAM_7 | 44272 | Current Output | Output I'm looking for | ||||||||||||
12 | ABC | PARAM_7 | 99827 | ||||||||||||||
13 | ABC | PARAM_8 | |||||||||||||||
14 | TTU | PARAM_1 | |||||||||||||||
15 | TTU | PARAM_2 | TTU | ||||||||||||||
16 | TTU | PARAM_3 | |||||||||||||||
17 | TTU | PARAM_4 | 30019 | ||||||||||||||
18 | TTU | PARAM_5 | 1881 | ||||||||||||||
19 | TTU | PARAM_6 | 87305 | ||||||||||||||
20 | TTU | PARAM_7 | |||||||||||||||
21 | TTU | PARAM_7 | 93552 | ||||||||||||||
22 | TTU | PARAM_7 | 11573 | ||||||||||||||
23 | TTU | PARAM_8 | |||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
I2:I9,E2:H3 | E2 | =CHOOSECOLS(FILTER($B$1:$C$23,$B$1:$B$23=E$1,""),2) |
Dynamic array formulas. |