I have a sheet structured like this:
+---------------------------+
|date | jan 1 | jan2 |jan3 |
+---------------------------+
|empl1 | 3 | 5 |8 |
+---------------------------+
|empl2 | 4 | 7 |6 |
+---------------------------+
|empl3 | 1 | 2 |9 |
+---------------------------+
Which I would like to unpivot so it looks like this:
+------+-------+--------
|empl1 | jan 1 | 3 |
+----------------------+
|empl2 | jan 1 | 4 |
+----------------------+
|empl3 | jan 1 | 1 |
+----------------------+
|empl1 | jan2 | 5 |
+----------------------+
|empl2 | jan2 | 7 |
+----------------------+
|empl3 | jan2 | 2 |
+----------------------+
|empl1 | jan3 | 8 |
+----------------------+
|empl2 | jan3 | 6 |
+----------------------+
|empl3 | jan3 | 9 |
+------+-------+--------
Is there a way to acheive this with formulae, if so, how? Or can this only be acheived through script?
Any help or nudge in the correct direction would be much appreciated.