Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 332
- Office Version
- 365
- Platform
- Windows
Below is a table which I am trying to identify formulas which would identify if current capacity is less than total hours needed, it changes implement 3rd shift to (1) and then increases proposed equipment by (+n) until proposed capacity is greater than total hrs needed. I have filled in Sept 23 through Dec 23 as an example. I left MAy 23 to Aug 23 for your purpose.
Book1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | 23-May | 23-Jun | 23-Jul | 23-Aug | 23-Sep | 23-Oct | 23-Nov | 23-Dec | |||||
2 | Number of Equipment | 1 | 1 | 1 | 1 | 1 | 2 | 2 | 2 | This is a static value | |||
3 | Number of hrs per Equipment | 300 | 300 | 300 | 300 | 300 | 300 | 300 | 300 | This is a static value | |||
4 | Utilization Rate | 90% | 90% | 90% | 90% | 90% | 90% | 90% | 90% | This is a static value | |||
5 | Program 1 (hrs required) | 100 | 100 | 300 | 300 | 300 | 300 | 300 | 300 | ||||
6 | Program 2 (hrs required) | 200 | 200 | 400 | 400 | 900 | 1200 | 1800 | 2200 | ||||
7 | Total Hrs needed | 300 | 300 | 700 | 700 | 1200 | 1500 | 2100 | 2500 | ||||
8 | Current Capacity | 270 | 270 | 270 | 270 | 270 | 540 | 540 | 540 | ||||
9 | Proposed Capacity | 270 | 270 | 270 | 270 | 1296 | 1728 | 2160 | 2592 | ||||
10 | Proposed Equipment | 0 | 0 | 0 | 0 | 2 | 2 | 3 | 4 | if current capacity is less than total hours needed, it changes implement 3rd shift to (1) and then increases proposed equipment by (+n) until proposed capacity is greater than total hrs needed. | |||
11 | Implement 3rd Shift | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | This field should change to 1 before proposed equipment | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B7:I7 | B7 | =SUM(B5:B6) |
B8:I8 | B8 | =B2*B3*B4 |
B9:I9 | B9 | =B4*IF(B11=1,480,B3)*(B2+B10) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B9:I9 | Cell Value | <B$7 | text | NO |