Beruflich Dokumente
Kultur Dokumente
(In excel 2003, you have to do this from field settings menu option)
4. Show difference from last month (or year) without bending backwards
We all know that you can show monthly summaries using Pivots. But what if your boss wants you to also include difference from previous month as well? Now, dont rush back to source data and add new columns. Here is the right trick to make you a star.
Just use field settings to tell excel how you want the data to be summarized. Right click on any pivot table value, select value field settings Now go to Show value as tab and Change Normal to Difference from Select Previous from Base-item area. Leave Base field as-is.
Bonus: There are quite a few value field settings you can mess with. Go play and discover something fun.
To do this, Go to pivot table options ribbon, select formulas > calculated field Now define a new calculated field by giving it a name and some meaningful formula. Make sure you adjust the cell formatting so that output of calculation can be displayed (for eg. change number to % format)
(In excel 2003, the formula option is available from Pivot menu in toolbar) See this tip in action:
Do you know you can group dates in pivot tables to show the report by week, month or quarter? I have learned this trick while doing analysis on a pivot table today. In this online lesson on pivot tables, I will teach you how to group dates in pivot tables to analyze the data by month, week, quarter or hour of day. Let us say you have a sales transaction database like this:
1. First make a pivot table [video tutorial] with Sales person as column header, Transaction date as row header and total units as pivot values. 2. Now select any transaction date, right click and select Group 3. In the group dialog box, select Months for group by option. Press ok. 4. Presto! your data is grouped by month. No more than 3 seconds and you are ready analyze the data by month and find trends.
I have made a small screen-cast to show how this can be done. See it here:
Group by Week:
Assuming your data has dates along with the actual transaction time, you might want to analyze the sales by hour of day, to find out say if one product is selling more than other during certain hours. To group the pivot table dates by hour of the day:
1. Select group option 2. Select hour in the group by option.
Tell us how you use the group / un-group feature in pivot tables?
I am finding numerous possibilities with the group / un-group feature of pivot tables. I will learn new things and share them with you as we go along. Meanwhile, share your tips, experience and ideas using comments. I would love to learn from you.