ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Moving Percentage calculation (https://www.excelbanter.com/excel-discussion-misc-queries/233828-moving-percentage-calculation.html)

lee

Moving Percentage calculation
 
Hello,

Any suggestions on a formula to calculate percentage changes year-on-year? I
have:

---A---- ---B---

1. 20.0% ?
2. 20.0%
3. 35.0%
4. 15.0%
5. 10.0%

Sum of column A is 100%. I'd like to take 10% of A1 and add it to A2 with
the result in B2 and so on, the result eventually being that row 5 has the
highest percent and row 1 the lowest -but with the totals of the columns
always adding up to 100%.

This is meant to show the sales of products moving from one product over
time to another, with the total always being 100% of the sales volume.

Thanks !
Lee

smartin

Moving Percentage calculation
 
Lee wrote:
Hello,

Any suggestions on a formula to calculate percentage changes year-on-year? I
have:

---A---- ---B---

1. 20.0% ?
2. 20.0%
3. 35.0%
4. 15.0%
5. 10.0%

Sum of column A is 100%. I'd like to take 10% of A1 and add it to A2 with
the result in B2 and so on, the result eventually being that row 5 has the
highest percent and row 1 the lowest -but with the totals of the columns
always adding up to 100%.

This is meant to show the sales of products moving from one product over
time to another, with the total always being 100% of the sales volume.

Thanks !
Lee


Here are two possible interpretations.

If you mean each product nips 10% of the previous product's share, then
this does that, but the results make no sense after a few iterations to
the right because #1s share goes negative:

B2 =A1-0.1*SUM(A1:A4)
B3 =0.1*A1+A2 (fill down)

OTOH, If you mean each product nips 10% of product #1, the results make
more sense, but the leader among products 2-5 can never change (i.e., #3
stays highest):

B2 =0.6*A1
B3 =0.1*A$1+A2 (fill down)


All times are GMT +1. The time now is 05:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com