edvrdsdvskj
New Member
- Joined
- Jun 3, 2018
- Messages
- 10
Hello Everyone!
In row 3:3 is static data when this calculation has been started, consequently there are no any formulas in columns D:G
The divider in column D formulas (=(B4/B3)-100%) should be dynamic based on the conditions: differences of the prices are less than or equal to -7% or greater than or equal to +7%.
For example in D4:D11 the divider is B3, in D12:D23 - B11 etc.
Any ideas how to solve it?
In row 3:3 is static data when this calculation has been started, consequently there are no any formulas in columns D:G
The divider in column D formulas (=(B4/B3)-100%) should be dynamic based on the conditions: differences of the prices are less than or equal to -7% or greater than or equal to +7%.
For example in D4:D11 the divider is B3, in D12:D23 - B11 etc.
Any ideas how to solve it?
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Period | Hot Rolled Coil | ±∆% | ±∆% | ±∆% | Comment | |||
2 | Highest | Lowest | Highest | Lowest | AVG | ||||
3 | 2017-06-01 | 545 | 510 | ||||||
4 | 2017-07-01 | 525 | 490 | -3.67% | -3.92% | -3.80% | |||
5 | 2017-08-01 | 525 | 490 | -3.67% | -3.92% | -3.80% | |||
6 | 2017-09-01 | 555 | 520 | +1.83% | +1.96% | +1.90% | |||
7 | 2017-10-01 | 560 | 525 | +2.75% | +2.94% | +2.85% | |||
8 | 2017-11-01 | 560 | 525 | +2.75% | +2.94% | +2.85% | |||
9 | 2017-12-01 | 560 | 525 | +2.75% | +2.94% | +2.85% | |||
10 | 2018-01-01 | 580 | 545 | +6.42% | +6.86% | +6.64% | |||
11 | 2018-02-01 | 595 | 560 | +9.17% | +9.80% | +9.49% | price increase | ||
12 | 2018-03-01 | 615 | 580 | +3.36% | +3.57% | +3.47% | |||
13 | 2018-04-01 | 615 | 580 | +3.36% | +3.57% | +3.47% | |||
14 | 2018-05-01 | 615 | 580 | +3.36% | +3.57% | +3.47% | |||
15 | 2018-06-01 | 600 | 565 | +0.84% | +0.89% | +0.87% | |||
16 | 2018-07-01 | 595 | 560 | 0% | 0% | 0% | |||
17 | 2018-08-01 | 595 | 560 | 0% | 0% | 0% | |||
18 | 2018-09-01 | 600 | 565 | +0.84% | +0.89% | +0.87% | |||
19 | 2018-10-01 | 595 | 560 | 0% | 0% | 0% | |||
20 | 2018-11-01 | 585 | 550 | -1.68% | -1.79% | -1.73% | |||
21 | 2018-12-01 | 575 | 540 | -3.36% | -3.57% | -3.47% | |||
22 | 2019-01-01 | 555 | 520 | -6.72% | -7.14% | -6.93% | |||
23 | 2019-02-01 | 545 | 510 | -8.40% | -8.93% | -8.67% | price decrease | ||
24 | 2019-03-01 | 545 | 510 | 0% | 0% | 0% | |||
25 | 2019-04-01 | 535 | 500 | -1.83% | -1.96% | -1.90% | |||
26 | 2019-05-01 | 515 | 480 | -5.50% | -5.88% | -5.69% | |||
27 | 2019-06-01 | 515 | 480 | -5.50% | -5.88% | -5.69% | |||
28 | 2019-07-01 | 515 | 480 | -5.50% | -5.88% | -5.69% | |||
29 | 2019-08-01 | 505 | 470 | -7.34% | -7.84% | -7.59% | price decrease | ||
30 | 2019-09-01 | 505 | 470 | 0% | 0% | 0% | |||
31 | 2019-10-01 | 485 | 450 | -3.96% | -4.26% | -4.11% | |||
32 | 2019-11-01 | 455 | 420 | -9.90% | -10.64% | -10.27% | price decrease | ||
33 | |||||||||
MEPS |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D4:E4, D12:E12, D24:E24, D30:E30 | D4 | =(B4/B3)-100% |
F4:F32 | F4 | =AVERAGE(D4:E4) |
G4:G32 | G4 | =IF(F4>='Data for calculations'!$B$2,"price increase",IF(F4<='Data for calculations'!$A$2,"price decrease","")) |
D5:E5, D13:E13, D25:E25, D31:E31 | D5 | =(B5/B3)-100% |
D6:E6, D14:E14, D26:E26, D32:E32 | D6 | =(B6/B3)-100% |
D7:E7, D15:E15, D27:E27 | D7 | =(B7/B3)-100% |
D8:E8, D16:E16, D28:E28 | D8 | =(B8/B3)-100% |
D9:E9, D17:E17, D29:E29 | D9 | =(B9/B3)-100% |
D10:E10, D18:E18 | D10 | =(B10/B3)-100% |
D11:E11, D19:E19 | D11 | =(B11/B3)-100% |
D20:E20 | D20 | =(B20/B11)-100% |
D21:E21 | D21 | =(B21/B11)-100% |
D22:E22 | D22 | =(B22/B11)-100% |
D23:E23 | D23 | =(B23/B11)-100% |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B3:G32 | Expression | =ABS($F3)>=7% | text | NO |