Wizard Homework Chart

In previous posts, I have espoused the virtues of the Pivot Tables in Excel and that you should always think in terms of a database programmer when you create your data layouts.  If you missed those posts, you should check them out here:

Think Like a Database Designer Before Creating an Excel Dashboard Chart

How-to Insert Slicers into an Excel Pivot Table

How-to Create a Dynamic Excel Pivot Table Dashboard Chart

Class Exam Grade Excel Chart Using Slicers and a Pivot Table

But what if you have a large data set given to you and it is not in the proper format so you cannot easily create a Pivot Table from the data?

Your data layout was formatted this way:

Original Non Pivot Table Data Format


But you wanted the layout this way:

Pivot Table of Original Data


Well stress no longer, you can easily and quickly transform your Excel data into a Pivot Table friendly data set with this tip / trick.


The Breakdown

1) Launch the Classic Pivot Table Wizard

2) Complete Multiple-Consolidated Ranges Steps

3) Create Data Set from Drill Down

4) Rename Column Headers



1) Launch the Classic Pivot Table Wizard

To quickly transform your data, we need to use the “Multiple consolidation ranges” ability of the the classic “PivotTable and PivotChart Wizard”.  If you are newer to Excel, you may never have known that this exists.  I used it so much, I have memorized the keystrokes and that is what I use to create a Pivot Table on a daily basis.

To launch the Pivot Table Wizard, you will first need to press ALT+d and then let those keys go and press the “p” button on your keyboard.  The PivotTable Wizard Dialog Box will then launch as you see here.

Classic Pivot Table Wizard Dialog Box

So remember, press the ALT and “d” keys together and then let go and press the “p” button.


2) Complete Multiple-Consolidated Ranges Steps

Now that we have the classic wizard open, you will want to make the following selections

a) Multiple consolidation ranges

b) PivotTable

and then press the Next button:

Classic Pivot Table Wizard for Multiple Consolidated Ranges

You will then see this dialog box for step 2a.  Here you want to choose “I will create the page fields” and then press the Next button.

Classic Pivot Table Wizard Step 2a

Step 2b will take a little more work.  First, click in the Range field, then select your range on the spreadsheet.  Once you have your data range selected, press the Add button.  Your range will then be set in the All Ranges section.  After you complete the range, you will then want to select the “1” radio button in the section “How many page fields do you want?” and then press the Next button.

Classic Pivot Table Wizard Step 2b

The final step is to choose where you want the final PivotTable to be created.  You get to choose.  Typically, I will just have it created on a new worksheet and then press the Finish button.

Classic Pivot Table Wizard Step 3

Your data will then be transformed into a PivotTable as you see in the next step.


3) Create Data Set from Drill Down

Even though the original data now looks like a Pivot Table, we don’t yet have our data in a Pivot Table format for adding and editing.  In order to create the data like you would imagine generated this Pivot Table, we have one final step.  You can drill down into any PivotTable and see the base data when you double click on any number in the table.  So to get all of our data we want to Drill Down on the Grand Total for the entire Pivot Table in the bottom right corner.

Pivot Table of Original Data Double Click


4) Rename Column Headers

Once you have drilled down into the Pivot Table, your data will explode into a transformed data set as you see below.  As the Pivot Table doesn’t really know the column headers that you started with, you will want to update cells in the first row to Department and Category

Final Pivot Table Data Format

As you can see, it can take just a few minutes to transform your data when it would take you a long time to do it by hand.


Video Demonstration

File Download

Try it yourself with this sample Excel file:



Do you use the Insert Ribbon > Pivot Table or the Classic Pivot Table Wizard with Alt+d – p?  Let me know in the comments below.


'); doc.close(); function init(b, config) { b.addVar({ 'abTests[0][testName]': 'cssJsInjectionInlineLinkColor', 'abTests[0][bucketValue]': 3, 'abTests[1][testName]': 'indexUniversalWrapper', 'abTests[1][bucketValue]': 0, 'abTests[2][testName]': 'videoRangeToPlay', 'abTests[2][bucketValue]': 1, 'abTests[3][testName]': 'videoControls', 'abTests[3][bucketValue]': 1, 'abTests[4][testName]': 'cssJsInjection', 'abTests[4][bucketValue]': 0, 'ptax': 'tho_homework-help', 'tax0': 'tho', 'tax1': 'tho_resources', 'tax2': 'tho_for-students-parents', 'tax3': 'tho_homework-help', 'tax4': 'tho_writing-research-papers', 'templateId': '3', 'templateName': 'listTemplate', 'templateView': 'PERSONAL_COMPUTER', 'tmog': 'g162127932df69702d31302d31342d392d3138302d311b55d', 'mint': 'g162127932df69702d31302d31342d392d3138302d311b55d', 'idstamp': 'g162127932df69702d31302d31342d392d3138302d311b55d', 'dataCenter': 'us-east-1', 'serverName': 'ip-10-14-9-180-1', 'serverVersion': '2.40.7', 'resourceVersion': '2.40.7', 'cc': 'UA', 'city': '', 'lat': '50.45', 'lon': '30.523', 'rg': '', 'clientTimestamp': new Date().getTime(), 'globeTimestamp': 1520728355551, 'referrer': document.referrer, 'sessionPc': '1', 'userAgent[familyName]': 'IE', 'userAgent[versionMajor]': '11', 'userAgent[versionMinor]': '0', 'userAgent[osName]': 'Windows 7', 'userAgent[osVersion]': '6.1', 'userAgent[mobile]': 'false', 'userAgent[raw]': 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko' }); b.init({ beacon_url: 'https://rd.about.com/boomerang/reference', user_ip: '', site_domain: 'thoughtco.com', BW: { enable: false }, DFPTiming: {} }); } if (document.addEventListener) { document.addEventListener("onBoomerangLoaded", function(e) { // e.detail.BOOMR is a reference to the BOOMR global object init(e.detail.BOOMR); }); } else if (document.attachEvent) { // IE 6, 7, 8 we use onPropertyChange and look for propertyName === "onBoomerangLoaded" document.attachEvent("onpropertychange", function(e) { if (!e) e=event; if (e.propertyName === "onBoomerangLoaded") { // e.detail.BOOMR is a reference to the BOOMR global object init(e.detail.BOOMR); } }); } })();(function() { var article = document.getElementById('article_1-0'); if (article && !article.gtmPageView) { article.gtmPageView = {"description":"Adding a chart or graph will turn a good paper into a great paper. Learn how to create a Microsoft Excel chart with this step-by-step guide.","errorType":"","authorId":"17634","contentGroup":"Articles","documentId":1857280,"lastEditingAuthorId":"17634","lastEditingUserId":"148122552371372","characterCount":3540,"templateId":"3","socialTitle":"Tips for Making Simple Graphs and Charts","title":"Creating Charts and Graphs" || document.title || '',"fullUrl":"https://www.thoughtco.com/create-a-chart-in-microsoft-excel-1857280" + location.hash,"experienceType":"single page","currentPageOrdinal":"","previousPageOrdinal":"","entryType":"direct","pageviewType":"standard","templateVariation":"","publishDate":"2006-10-12","numOfImages":6,"numOfPages":1,"numOfArticleWords":"","numOfInlineLinks":"","excludeFromComscore":false,"socialImage":"https://fthmb.tqn.com/gn0lMlB33vsX5qQZZfZrwF4Nh84=/735x0/data-58b9855f3df78c353cdf26d8.jpg","numOfMapLabels":"","isErrorPage":false,"instartLogicDelivered":0,"internalSessionId":"g162127932df69702d31302d31342d392d3138302d311b55d","internalRequestId":"g162127932df69702d31302d31342d392d3138302d311b55d","taxonomyNodes":[[{"documentId":4122478,"shortName":"ThoughtCo"},{"documentId":4132590,"shortName":"Resources"},{"documentId":4132588,"shortName":"For Students & Parents"},{"documentId":4132587,"shortName":"Homework Help"},{"documentId":4132581,"shortName":"Writing Research Papers"}]],"isCommerceDocument":false,"experienceTypeName":"","updateDate":"2017-03-06"}; } }()); (function() { Mntl.utilities.readyAndDeferred(function($container){ var $masonryInstance = $('#masonry-list1_1-0'); if ($masonryInstance.data('no-js')) return; Mntl.MasonryList.init($container, $masonryInstance, {stretch: '.card__img, .card--no-image .card__content'}); }); })();(function() { Mntl.utilities.readyAndDeferred(function($container){ var $masonryInstance = $('#masonry-list2_1-0'); if ($masonryInstance.data('no-js')) return; Mntl.MasonryList.init($container, $masonryInstance, {stretch: '.card__img, .card--no-image .card__content'}); }); })();


Leave a Reply

Your email address will not be published. Required fields are marked *