MrExcel's Learn Excel #493 - Non-Pivotable Data

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Apr 21, 2009.
In just about every pivot table tutorial, the writer tells you to start with a nice clean transactional data set. No blank rows, no blank columns, and no months going across the columns. David from Pennsylvania writes in to ask what to do if your dataset already is in a table with headings in the rows and columns. In Episode 493 I borrow a trick from Mike Alexander to solve this problem and make your dataset appropriate for use in a pivot table.

This blog is the video podcast companion to the book, Learn Excel from MrExcel. Download a new two minute video every workday to learn one of the 277 tips from the book!
maxresdefault.jpg


Transcript of the video:
Hey, welcome back to the MrExcel podcast.
I'm Bill Jelen.
Today,We have a question sent in by David.
He's interested in creating a pivot table, but his data violates the rules for pivot tables.
I always say that you need transactional data.
You don't want to have a summary data.
So, here we have months going across the headings.
That is always bad when you want to try and create a pivot table from this data.
There's a really obscure trick and I got this from Mike Alexander.
Mike is my co-author on the pivot table data crunching books.
I'm not sure exactly where he picked this up from.
But it's a pretty cool trick to take this data, that's formatted.
and create Transactional data out of it.
So, what I'm going to do is I'm going to create a pivot table>data >PivotTable and PivotChart Report.
But in the first step, I'm going to choose multiple consolidation ranges.
This is one that we hardly ever talk about.
Not many people use.
we'll click Next > Say that we will allow Excel to create a single page field for me.
click Next > specify where my data is my data is here click Add Click Next.
Okay and now, we're back in step three of the pivot table wizard.
I'll just click Finish and I get a very boring pivot table.
But here is the amazing trick.
You know that if you double-click any cell in a pivot table, you get a new worksheet showing all of the data that makes up that cell.
So, what we want to do is go to the grand total for rows, grand total for columns.
Double click that cell and now we have our original data set but it's been spun into one row per every intersection of rows and columns.
Kind of amazing that works, but it is a great way to take data which is formatted with Months going across and to create a data set.
That's now suitable for creating a pivot table from.
Hey,Thanks for stopping by.
We'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,213,551
Messages
6,114,273
Members
448,559
Latest member
MrPJ_Harper

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top