Hi,
I have a question concerning the calculation of a simple percent change between two values. That is of course not a real problem.
But what is for me is a problem is that the time period for calculating the percent change between two values is changing.
In the example below I have calculated a 10 day percent change between two values; e.g. I have manually calculated the percent change between value 1,456.38 in row 36 and value 1,448.31 in row 27.
What I want is changing the value in cell C1 and then the percent change between two values is calculated automatically according to the value in cell C1.
In my example the value 10 is entered in cell C1 so I calculate the percent change between the current value and the value 10 days ago.
If I now enter the value 14 in cell C1 the percent change between the current value and the value 14 days ago should be calculated automatically. How can this be done?
Sapmle Calulation.png
A B C
1 1,418.30 10
2 1,416.60
3 1,418.34
4 1,409.71
5 1,412.84
6 1,412.11
7 1,414.85
8 1,423.82
9 1,430.73
10 1,431.90 0.96
11 1,430.62 0.99
12 1,426.37 0.57
13 1,430.50 1.47
14 1,422.95 0.72
15 1,427.99 1.12
16 1,440.13 1.79
17 1,423.90 0.01
18 1,422.18 -0.60
19 1,420.62 -0.79
20 1,428.82 -0.13
21 1,438.24 0.83
22 1,445.94 1.08
23 1,448.39 1.79
24 1,446.99 1.33
25 1,448.00 0.55
26 1,450.02 1.83
27 1,448.31 1.84
28 1,438.06 1.23
29 1,433.37 0.32
30 1,444.26 0.42
31 1,455.30 0.65
32 1,456.81 0.58
33 1,455.54 0.59
34 1,459.68 0.81
35 1,457.63 0.52
36 1,456.38 0.56 =+((100*A36)/A27)-100
Thanks a lot for your efforts.
Thomas
Bookmarks