0
I have an excel file:
And I am trying to transpose the file and create a new column with values based on the header values. So, I want one column (number) to have all the numbers and the values m0,m1,m2,m3
to be added to a new column with the header Month
:
It seems quite difficult to find anything online. Do I need a macros for that? Ideally, I want to do that in excel using the classic functions.
1Search for 'UnPivot Data', transposing is different to what you are after – PeterH – 2018-06-06T10:47:44.820
And you will be able UNPivot the data, and also sort and rename the columns, using
Power Query
, a free Microsoft provided add-in for Excel 2010. The query settings will be recorded and can be used repetitively. – Ron Rosenfeld – 2018-06-06T12:25:23.163