Excel: Pivot table issue


I am working with pivot tables and working on value field settings.
I want cumulative percentages so I am using %running Total In option.
here is the sample  data set

TOB      Year      JB
1      2010      2
2      2010      3
3      2010      4
4      2010      5
5      2010      6
6      2010      7
7      2010      8
8      2010      9
1      2011      5
2      2011      6
3      2011      8
4      2011      9
5      2011      4
6      2011      8

here is the data that I want

Sum of JB      Column Labels      
Row Labels      2010      2011
1      4.55%      12.50%
2      11.36%      27.50%
3      20.45%      47.50%
4      31.82%      70.00%
5      45.45%      80.00%
6      61.36%      100.00%
7      79.55%      
8      100.00%      

here is the data that is coming

Sum of JB      Column Labels      
Row Labels      2010      2011
1      4.55%      12.50%
2      11.36%      27.50%
3      20.45%      47.50%
4      31.82%      70.00%
5      45.45%      80.00%
6      61.36%      100.00%
7      79.55%      100.00%
8      100.00%      100.00%

1. I do not know the TOB per year they can be from 1 to N, incremental of 1
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rory ArchibaldCommented:
The best way I can think of for this is to use conditional formatting to hide values where the cell above is equal to 1 using a formula like:
and a custom number format of ;;;
See attached example.
Saurabh Singh TeotiaCommented:
I did some changes in raw data and use one of the pivot table as base to do what you are looking for...

Enclosed is the sample file for your reference which does exactly what you are looking for...

Richard DanekeTrainerCommented:
In the attached sample, I have two Pivot tables.

Pivot1 - places the null values at the top of the list to clearly state no values by using a 0%.
Pivot2 - Hides the 100% values for 7 and 8 with the custom number format of ;;;

However, I would like to state that the original is correct in showing that the last two values do not contribute to the running total.  If you add the JB field a second time to the Pivot table, the value would be in a column next to the running total and the null or 0 value of 7 & 8 would be more obvious.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.