How to get and transform data in Microsoft Excel
Posted on: 07/04/2018
Many Excel files are not set up properly. Data that should be in a flat file is laid out in a crosstab file format, or in this example, the data is missing information and has totals manually applied. The issue with data being set up incorrectly is the following can’t be done:
-
Sorting data
-
Filtering data
-
Creating a PivotTable
-
Subtotals
To get data in a flat file, Excel has a great feature on the Data tab. It is called Power Query Editor.
Below is a screenshot of an Excel file set up incorrectly. The numbers are correct but notice the missing cells in column A. Notice the blank row in row 2, and totals and the grand total have been calculated but this is not the correct place to do these calculations.
YouTube Video of “Get and Transform” with Power Query Editor
The end result of using the Power Query Editor is the screenshot below.
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