Pivot table remainder of total

magnus101

New Member
Joined
Apr 11, 2012
Messages
36
Hello,
Is there a way to add a field in a pivot table, that is the remainder of the total?
I see there is a running total, % of grand total.

But is there a remainder of total?

so the total is 100
row one has a running total of 10, so the remainder of total is 90
row two has a running total of 25, so the remainder of total is 75
etc...

thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
When I add a calculated field, I only see the columns of the table, the pivot table is pulling from.
It does not show my running total field.
 
Upvote 0
I do not think that will work.
I am building a burn down chart. Where I do counts of completed based on date.
 
Upvote 0
Please post a small but representative sample of your source data and a description of what you would like to see in the pivot table.
 
Upvote 0
Thank you for getting back.

This is what I would like at the end. A burndown chart.
2r5yz2a.jpg





My data is like this

Code:
Store       Project_Status       installDate
7934    Pending     
9682       Completed    7/24/2012
3131   Completed    7/30/2012
7739    Completed    8/2/2012
4214    Completed    8/6/2012
4664    Pending    
3764    Completed    8/7/2012
7882    Pending    
5103    Pending    
7881    Completed    8/8/2012
5836    Completed    8/8/2012
4649    Completed    8/9/2012
37    Pending    
2011    Completed    8/11/2012
3367    Completed    8/13/2012
3009    Pending


Completed has a date. Pending has no date.
And the data can grow.



through a pivot table I can get a running total.
1zyk28p.jpg



which gives a chart like this


25srbz4.jpg



Which is the opposite of what I want. This is counting up. Instead of counting down.

any ideas?

thank you
 
Upvote 0
In D1 enter a heading eg Remainder. In D2 enter the formula:

=IF(B2="Completed",COUNTIF(C$2:C$17,">"&C2)/COUNTIF(C$2:C$17,C2),0)

and copy down. Add that field to your pivot table as Normal Sum.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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