This is part 2 of 6 on Profit & Loss Reporting using Excel, written by Yogesh
Data sheet structure for Preparing P&L using Pivot Tables
Preparing Pivot Table P&L using Data sheet
Adding Calculated Fields to Pivot Table P&L
Exploring Pivot Table P&L Reports
Quarterly and Half yearly Profit Loss Reports in Excel
Budget V/s Actual Profit Loss Report using Pivot Tables
In this post we will learn how to setup the basic pivot table from that data.
First step is to create Pivot Table. Here is a video tutorial on making pivot tables.
My favorite for this type of Pivot it Classic Pivot Table layout. This is standard layout available in Excel 2003. You can change pivot table layout using following steps,
- Right click within PivotTable created in Excel 2007
- Click on PivotTable Options
- Select Display Tab
- Click Classic PivotTable layout (enables dragging of fields in the grid)
Here is a screen-cast showing how to switch pivot table layout.
Once you have got classic pivot layout, start adding data fields to it. Once you start dropping data field in pivot table it will start showing as different columns. However we need them in the rows rather than in columns. Check out screen cast on changing data from column labels to row labels
Here is a screen-cast showing how to change column label to row labels.
Data added by you will keep showing “Sum of” in addition to data field name. Like when you add sales field it will show as “Sum of Sales”.
You can change the “sum of x” to “x” by,
- Select all the row labels
- Press Ctrl+H – This will show Replace Dialogbox
- Type “Sum of” in find box without quotes
- Click on Replace all
PS: You cannot change “Sum of Sales” to “Sales”, you have to leave one space before, so we are changing it to ” Sales”.
Here is a screen-cast showing how to clear sum of from field labels.
Now we have a report which has major data available for preparing P&L Report. We need to add some calculated fields to it make it complete P&L report. We will do that in next post.
Download the Profit & Loss Pivot Table Excel File
Click here to download the file on todays example. Play with it. [here is a mirror of the file]
What Next?
In the next part of this series, learn how to add calculated fields to complete this P&L report.
Added by PHD:
- Please share your feedback and ideas for this series using comments. Yogesh and I will reply to your questions. Also, say thanks if you like the idea and want to learn more.
- Sign-up for PHD E-mail newsletter because you will get updates as new posts are live.
5 Responses to “Preparing Profit / Loss Pivot Reports [Part 2 of 6]”
[...] Preparing Pivot Table P&L using Data sheet [...]
[...] Preparing Pivot Table P&L using Data sheet [...]
[...] Preparing Pivot Table P&L using Data sheet [...]
I am not getting sound from the videos. I have checked all the settings and spent several hours searching the Internet to no avail.
Has anyone else had this problem?
Is there anyway to get the Grand Total to be broken out in the same fashion as the items above it? For instance, if you have in column 1, widget a, widget b, and have their sales by month in column 2, I'd like to see the grand total also be by month, for widget a & b combined.
I can't get anything other than a single line for the grand total, rather than the same format as the data above.
Widget A Month Sales
Jan 100
Feb 200
Widget B
Jan 150
Feb 250
Grand total - here I would also like to have Jan, Feb.
Jan 250
Feb 450