Then Sum(Add the values one by one) in % to total Column, when the value reaches to <=80.00 Put Those entries as A,
when the value reaches to>=80.01 & <= 95.00 Put Those entries as B,Then >=95.01 & <=100remaining rows as C. Pass In ABC Column.
ex:19000/28880=65.79
As Deepak indicated your logic behind assigning ,"A","B" or "C" is not making any sense. On what basis your are deciding on adding 65.79+6.54+6.20, is it based on some plant ID? You should be bit more elaborate on your explanation.
It is based on Plant ID & Category ex: XXXX-DM ,XXXX-IDM ,Where I am identifying what are all the materials falls Under "A" Category , B category and similarly C category. based on the logic explained. When I choose Multiple plant as Input In Pivot filter Same logic needs to be computed for multiple plants.
I have set up formulas in sheet1 from in range G212:G271 and I212:I271, I have try to replicate the logic you had explained in that sheet. Manually do the math and compare it with formula results to find out whether the formula is working as per your need. The sorting instruction I have given is important for the formula to work. If the logic seems to be fine , you can pull a pivot from the table. Note I am not fully clear abt your categorization into "A","B" & "C", I have used the logic as per my understanding you can tweak it as per your need.Let me know with questions if any.