Excel - Get and Transform Data | Unpivot Columns with Two Header Rows

Posted on:  06/29/2022
Excel - Get and Transform Data | Unpivot Columns with Two Header Rows

Excel's Unpivot Columns, part of Power Query, is an awesome feature. It is the easier way to fix data that isn't in a tabular format. 

Power Query - Unpivot columns

Power Query - Unpivot columns

You want data in a tabular format so it can be sorted, filtered, and PivotTables created. In this article, we will look at data with one header row and then move on to data with two header rows, which is a big no-no in Excel. 

Recent Microsoft Teams articles

YouTube Video

Chapters/Bookmarks

  • 0:00 Intro
  • 0:55 One Header Row
  • 4:07 Two Header Rows
  • 5:18 Transpose in Power Query
  • 6:05 Use the First row as Header
  • 7:25 Check data
Power Query Editor

Power Query Editor

Steps to get to the Power Query Editor

  1. Click inside your data
  2. Click the Data tab
  3. Click From Table/Range in the Get & Transform Data group
  4. Your data will be be created in a Table. Click Yes if you only have one header row.
  5. The Power Query Editor opens.

 

From Table/Range - Get & Transform Data

From Table/Range - Get & Transform Data

Recent Excel articles

Copilot for Excel: Transforming Complex Data with Advanced Delimiter Separation

Copilot for Excel: Transforming Complex Data with Advanced Delimiter Separation

Easily Combine Ranges with VSTACK and HSTACK in Excel

Easily Combine Ranges with VSTACK and HSTACK in Excel

Excel Focus Cell: Enhancing Active Cell Visibility and Navigation

Excel Focus Cell: Enhancing Active Cell Visibility and Navigation

Excel 7 Easy Tips Everyone Should Know

Excel 7 Easy Tips Everyone Should Know

Chris Menard

Chris Menard is a Microsoft Trainer (MCT) and works as a full-time Trainer at BakerHostetler - one of the largest law firms in the US. Chris runs a YouTube channel with 900+ technology videos that cover various tools such as Excel, Word, Zoom, Teams, Gmail, Copilot, Google Calendar, and Outlook. To date, the channel has helped over 20 million viewers. Menard also does 2 to 3 public speaking events yearly, presenting at the Administrative Professional Conference (APC), the EA Ignite Conference, the University of Georgia, and CPA conferences. You can connect with him on LinkedIn at https://chrismenardtraining.com/linkedin or watch his videos on YouTube at https://chrismenardtraining.com/youtube.

Categories