jackpollek
New Member
- Joined
- Jul 29, 2022
- Messages
- 2
- Office Version
- 2016
- Platform
- Windows
hello,
I am downloading some data from a database to perform panel regression on.
When i download the data it comes in the format shown in rows A1:M10.
However I would like to rearrange the data to the format shown In O1:R28
I will be dealing with large amount of data so am looking for a way to do this quickly.
I hope this question makes sense, I will greatly appreciate any help
I am downloading some data from a database to perform panel regression on.
When i download the data it comes in the format shown in rows A1:M10.
However I would like to rearrange the data to the format shown In O1:R28
I will be dealing with large amount of data so am looking for a way to do this quickly.
I hope this question makes sense, I will greatly appreciate any help
Example sheet.xlsx | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | Year | Firm 1 - EPS | Firm 1 - ESG | Firm 2 - EPS | Firm 2 - ESG | Firm 3 - EPS | Firm 3 - ESG | Firm 4 - EPS | Firm 4 - ESG | Firm 5 - EPS | Firm 5 - ESG | Firm 6 - EPS | Firm 6 - ESG | Firm | Year | EPS | ESG | |||
2 | 2012 | 1.579 | 57.07 | 1.816 | 88.35 | -0.004 | 42.63 | -0.738 | 24.12 | 5.016 | 74.31 | 0.225 | 63.46 | Firm 1 | 2012 | 1.579 | 57.07 | |||
3 | 2013 | 1.446 | 60.54 | 2.705 | 92.34 | 0.029 | 45.92 | -0.124 | 27.14 | 4.88 | 77.6 | 0.185 | 75.87 | Firm 1 | 2013 | 1.446 | 60.54 | |||
4 | 2014 | 1.861 | 56.78 | 2.496 | 92.32 | -0.026 | 49.58 | -0.472 | 28.59 | 5.046 | 77.91 | 0.28 | 78.31 | Firm 1 | 2014 | 1.861 | 56.78 | |||
5 | 2015 | 2.361 | 54.18 | 1.436 | 92.82 | 0.062 | 50.67 | -1.386 | 28.05 | 4.568 | 78.83 | 0.27 | 74.67 | Firm 1 | 2015 | 2.361 | 54.18 | |||
6 | 2016 | 2.093 | 61.9 | 2.128 | 91.3 | 0.245 | 65.59 | -0.936 | 32.81 | 4.384 | 77.85 | 0.642 | 73.36 | Firm 1 | 2016 | 2.093 | 61.9 | |||
7 | 2017 | 2.563 | 68.12 | 3.253 | 90.72 | 0.228 | 72.21 | -1.495 | 38.39 | 3.21 | 76.73 | 1.153 | 76.62 | Firm 1 | 2017 | 2.563 | 68.12 | |||
8 | 2018 | 2.999 | 70.01 | 4.32 | 93.28 | 0.992 | 85.08 | -1.145 | 48.57 | 2.415 | 73.93 | 1.509 | 75.68 | Firm 1 | 2018 | 2.999 | 70.01 | |||
9 | 2019 | 3.174 | 70.33 | 5.741 | 93 | 1.15 | 88.56 | -0.974 | 58.2 | 5.189 | 80.31 | 1.131 | 74.14 | Firm 1 | 2019 | 3.174 | 70.33 | |||
10 | 2020 | 3.706 | 76.45 | 6.713 | 93.51 | 2.091 | 86.89 | 0.637 | 63.15 | 4.745 | 82.21 | 1.725 | 79.19 | Firm 1 | 2020 | 3.706 | 76.45 | |||
11 | Firm 2 | 2012 | 1.816 | 88.35 | ||||||||||||||||
12 | Firm 2 | 2013 | 2.705 | 92.34 | ||||||||||||||||
13 | Firm 2 | 2014 | 2.496 | 92.32 | ||||||||||||||||
14 | Firm 2 | 2015 | 1.436 | 92.82 | ||||||||||||||||
15 | Firm 2 | 2016 | 2.128 | 91.3 | ||||||||||||||||
16 | Firm 2 | 2017 | 3.253 | 90.72 | ||||||||||||||||
17 | Firm 2 | 2018 | 4.32 | 93.28 | ||||||||||||||||
18 | Firm 2 | 2019 | 5.741 | 93 | ||||||||||||||||
19 | Firm 2 | 2020 | 6.713 | 93.51 | ||||||||||||||||
20 | Firm 3 | 2012 | -0.004 | 42.63 | ||||||||||||||||
21 | Firm 3 | 2013 | 0.029 | 45.92 | ||||||||||||||||
22 | Firm 3 | 2014 | -0.026 | 49.58 | ||||||||||||||||
23 | Firm 3 | 2015 | 0.062 | 50.67 | ||||||||||||||||
24 | Firm 3 | 2016 | 0.245 | 65.59 | ||||||||||||||||
25 | Firm 3 | 2017 | 0.228 | 72.21 | ||||||||||||||||
26 | Firm 3 | 2018 | 0.992 | 85.08 | ||||||||||||||||
27 | Firm 3 | 2019 | 1.15 | 88.56 | ||||||||||||||||
28 | Firm 3 | 2020 | 2.091 | 86.89 | ||||||||||||||||
Sheet1 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
A1 | Any value |