You want to insert 4 numbers so that they are all equally spaced? Ok, how many equal spaces will you have? And how big each space will be?I have two percentage figures and I need to fill in the gaps so to speak.
Example, low number is 20%, high is 70%, I need to work out a formula to calculate four even steps in between
20% ___ ___ ___ ___ 70%
Jan | Feb | Mar | Apr | May | Jun | |
Starting Figure | 27.0 | 31.6 | 28.2 | 23.1 | 18.9 | 5.1 |
Reduced by | 20% | 70% | ||||
Result | 21.6 | 31.6 | 28.2 | 23.1 | 18.9 | 1.5 |
Let's simplify. If you need to insert one number between 20 and 70, what would it be?Hi Lev, thanks for your response.
I'm not sure how to explain it clearer than I did in my first post but I'll give it a go! There will be 4 evenly spaced percentages between the first and last percentages provided (Which are entered manually for Jan & Jun) - I need to work out what percentages will fill the gaps (assuming a steady increase between Jan & June). The percentages entered/calculated for each month is how much the starting figure for each month (entered manually) will be reduced by
Example:
Jan Feb Mar Apr May Jun Starting Figure 27.0 31.6 28.2 23.1 18.9 5.1Reduced by 20% 70%Result 21.6 31.6 28.2 23.1 18.9 1.5
Ok, how did you calculate it?The even space between the two, if there was just one, would be 45 right?
Thank you! This gave me what I needThree equally spaced points, between a and b, will divide the interval into four equal spaces between them
Divide b- a by 4, (b- a)/4, so that each of the four spaces has length (b- a)/4. The three points are a+ (b- a)/4= (4a+ b- a)/4= (3a+ b)/4, a+ 2(b- a)/4= a+ (b- a)/2= (2a+ b- a)/2= (a+ b)/2, and a+ 3(b- a)/4= (4a+ 3b- 3a)/4= (a+ 3b)/4.