Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
stevep
 
Posts: n/a
Default How to show month end balances in a Pivot Table

I have an electronic statement from my broker that lists daily p/l and the
acct balance. I have built a pivot table over the data, and the MTD P/L
shows fine, but is there a way to get the Pivot Table to show the ending
balance for prior months (and the current balance for the current month)? I
can only get the PTable to total the balance field, which is not correct.
For example:

Statement:
Date P/L Balance
1/31 -300 10000
2/1 500 10500
2/2 -200 10300
2/3 100 10400

Pivot Table:
Month P/L Balance
Jan 1500 10000
Feb 400 10400

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default How to show month end balances in a Pivot Table

Hi

What you are showing as the PT result looks correct to me, is that what
you are achieving or is that what you are saying you want to achieve?
If the latter, then it can be done but you do not need to include the
Balance column in your PT (nor in your source data for that matter).
As you have it set up, drag the P/L field to the Data area for a second
time, it will be labelled Sum of P/L2.
Double click on the field Label, change the name to Balance (if you
don't have the field Balance included in your source data) or
some other appropriate title.
Click on the "Show source data as" dropdown button, and Select Running
Total In and select Date as your "Base" item.
Drag the Data button on the PT to the Total area, and you will get the
two values side by side.
You will need to insert 1 dummy row in your data dated 01/01/2005 with a
P/L figure of 10300, which is the cumulative of all transaction prior to
those show, which then gives rise to a closing balance of 10000 at the
end of Jan.

--
Regards

Roger Govier


"stevep" wrote in message
...
I have an electronic statement from my broker that lists daily p/l and
the
acct balance. I have built a pivot table over the data, and the MTD
P/L
shows fine, but is there a way to get the Pivot Table to show the
ending
balance for prior months (and the current balance for the current
month)? I
can only get the PTable to total the balance field, which is not
correct.
For example:

Statement:
Date P/L Balance
1/31 -300 10000
2/1 500 10500
2/2 -200 10300
2/3 100 10400

Pivot Table:
Month P/L Balance
Jan 1500 10000
Feb 400 10400

Thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show text data in excel pivot table Kathy Kirk Excel Discussion (Misc queries) 2 January 10th 06 01:26 PM
Pivot Table Problems Rachel Gonsior Excel Discussion (Misc queries) 3 March 21st 05 07:24 PM
pivot table - hide details but show subtotal for calculated field tenneym Excel Discussion (Misc queries) 1 February 9th 05 03:07 AM
How do I show summary totals from a pivot table on a bar chart Colleen T Charts and Charting in Excel 5 January 22nd 05 01:41 AM
Pivot Table - Group by Month - Show Items with no data Dan Reynolds Excel Discussion (Misc queries) 0 November 28th 04 01:01 AM


All times are GMT +1. The time now is 11:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"