In my excel sheet, each location is a row and each column is a year/month. The values are the revenue for the location by month.
Instead I need it to duplicate each row, with each location row having the year/month and revenue included. For example, the current layout is as follows going out for all 12 months:
<tbody>
</tbody>
I want it to be in the following layout:
<tbody>
</tbody>
Doing this would allow me to create the pivots and do additional analysis necessary. There are over 100 locations with 12 months of data. I have experimented and adding 12 lines and transposing the data is too time consuming.
Any tricks/tips to get this accomplished?
Thanks!
Instead I need it to duplicate each row, with each location row having the year/month and revenue included. For example, the current layout is as follows going out for all 12 months:
State | Location | 2015/01 | 2015/02 |
NY | ABC | 100 | 150 |
NY | XYZ | 125 | 175 |
CT | QRS | 75 | 150 |
MD | LMN | 100 | 125 |
NJ | DEF | 150 | 200 |
<tbody>
</tbody>
I want it to be in the following layout:
State | Location | Date | Expected Revenue |
NY | ABC | 2015/01 | 100 |
NY | ABC | 2015/02 | 150 |
NY | XYZ | 2015/01 | 125 |
NY | XYZ | 2015/02 | 175 |
<tbody>
</tbody>
Doing this would allow me to create the pivots and do additional analysis necessary. There are over 100 locations with 12 months of data. I have experimented and adding 12 lines and transposing the data is too time consuming.
Any tricks/tips to get this accomplished?
Thanks!