About unpivoting data
Unpivot Data turns wide tables, with months, years or other values as columns, into long tables with one row per value, the format charts, databases and BI tools need. It also pivots long data back into a wide table.
How to unpivot data from wide to long
- Drop a CSV or Excel file, or paste cells from a spreadsheet.
- For wide to long, tick the columns to keep (like Region and Product). Every other column, such as Jan, Feb and Mar, becomes rows with its header and value.
- For long to wide, pick which column becomes the new headers and which holds the values. Download the result.
Why reshape?
Reports often put months or years across the top. Charts, pivot tables, databases and BI tools such as Power BI, Tableau and Looker Studio want one row per value instead: Region, Product, Month, Sales. Unpivoting does that in one step.
And back again
Long → wide turns a list of Region, Month, Sales rows into a table with a column per month, ready to read or print. Choose what happens when two rows land in the same cell: keep the first, the last, join them or add them up.
Smart names
When the columns look like months, years or quarters, the new columns are named Month, Year or Quarter automatically. You can rename them before downloading.
Questions
Is my data uploaded?
No. Reshaping happens in your browser, on your device.
What's the difference from Transpose?
Transpose flips the whole table. Unpivot keeps your ID columns and turns only the other columns into rows, which is what charts and databases need.
Is this the same as Power Query's Unpivot?
Yes, it does the same job as "Unpivot other columns" in Excel Power Query and melt in pandas, without installing anything.
Why do I have blank rows after unpivoting?
Untick "Skip empty values" only if you need a row for every combination. Leave it on to drop empty cells.