Pivot Table Calculated Item Includes all accounts from Profit and Loss Statement

Grimm127

Board Regular
Joined
Aug 17, 2011
Messages
132
GM Excel Crew,

I am having trouble and I need some expert advice. I am recreating a PnL statement using a Pivot table. It gives me lots of flexibility for my needs for analysis. However, there is one problem that is driving me nuts. In this PnL there are lets say 50 accounts. Of course its broken out in Expenses, Rev etc. However here is my issue. In the data table, I have 2 columns, one is the account name and number and a second column for its bucket. Like the example below

FULL ACCOUNT NAMEACCOUNT NUMBER
100000 External sales:product100000 RPT
100070 Transport Brokerage Revenue100070 RPT
110000 Internal sales product:w/in legal entity110000 RPT

<colgroup><col><col></colgroup><tbody>
</tbody>

So then I roll this into a pivot table:

* External Product Quantity 100000 External sales:product7,000
100070 Transport Brokerage Revenue2,000
* External Product Quantity Total 9,000
* Internal Product Quantity 110000 Internal sales product:w/in legal entity11,000
* Internal Product Quantity Total 20,000

<colgroup><col><col><col></colgroup><tbody>
</tbody>

Looks Great but I need to add one more line which I am using the Calculated Field via item to add the two Totals above together (Named * Product Quantity) . Here's the rub. When I do that my results look like this below. In a nut shell, it is including all the other accounts. I don't understand why its doing this. I only want to show what that I specifically put to the formula. What am I missing?

* Product Revenue 100000 External sales:product7,000
100070 Transport Brokerage Revenue2,000
110000 Internal sales product:w/in legal entity11,000
132000 Proceeds on sale: operating noncurr0
132099 Proceeds on sale: operating noncurr0
142000 Net gain on sale: operating oth NCA0
142099 Net gain on sale: operating oth NCA0
145800 Other non trading revenue, external:0
152000 Proceeds on sale: operating oth NCA0
152099 Book value of op non curr assets dis0
172000 Net loss on sale: operating oth NCA0
172099 Net loss on sale: operating oth NCA0
185000 Discount received from vendors0
185500 Underages and overages0
195800 Other non trading expenses TD0
202001 GRIR write-off to P&L0
202012 Raw material inventory quantity chan0
202018 Spares,stores & proc matl inventory0
202020 Fuel Inventory Quantity Change0
203002 Raw Materials: Variances Price Relat0

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,214,551
Messages
6,120,159
Members
448,948
Latest member
spamiki

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