You can ‘unpivot’ a table of Excel data in a few clicks using Easy Data Transform. For example, you might want to unpivot this table of daily hourly averaged sensor data. It is arranged by hour (column) and day (row):
Into a form where there is a separate row for each hour and day:
Install Easy Data Transform on your PC or Mac, if you haven’t done so already. It will only take a minute. There is a fully functional free trial and you don’t have to give us your email or sign up to anything.
Drag the unpivot.xlsx file onto Easy Data Transform.
If you look in the right pane with pink input item selected you will see the Excel data table that we want to unpivot.
With the pink input item selected click the Gather transform button in the left pane (you may need to scroll the left pane down to see the button).
A Gather transform will be added. With the Gather transform selected, in the right pane check all the columns by clicking ‘select all columns’ and then uncheck the Date column. Set the key column name and Value column name to appropriate values:
The unpivoted data will then be shown.
We can now output the unpivoted data to a new Excel file. With the Gather item selected click on the To File button in the left pane (you may need to scroll down to see it).
Choose the output file location and format. A green output item will be added and the new file will be created.
Finally you can File>Save your transforms as a .transform file to re-use in the future.
As well as unpivoting data, Easy Data Transform also allows you to combine 50 transforms in many other ways to quickly and easily create complex data transformations for numerical, text and date data. For example you could add some additional transforms to produced timestamped data:
And re-pivot to average the data by day:
You can File>Open the unpivot.transform file included in unpivot.zip to try the above.
Easy Data Transform can process millions of rows and input and output in multiple formats. See our quick start guide to find out more about working with Easy Data Transform.