Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 332
- Office Version
- 365
- Platform
- Windows
How can I create a dynamic formula to "offset" the input based on how many months to start a process before delivery.
Cell Q14 is determined by:
This offset is determined by identifying the sum of process 1 - 3 and determining how many days in months. So Process 1 would need to start 8 months (cell E2) before delivery in Aug '23.
Process 2 will take the sum of Process 2-3, etc.
Cell Q14 is determined by:
This offset is determined by identifying the sum of process 1 - 3 and determining how many days in months. So Process 1 would need to start 8 months (cell E2) before delivery in Aug '23.
Process 2 will take the sum of Process 2-3, etc.
Book4 | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | AK | AL | AM | AN | |||
1 | Program | Process 1 | Process 2 | Process 3 | Total Months | Hours / mo | Efficiency | Jan '23 | Feb '23 | Mar '23 | Apr '23 | May '23 | Jun '23 | Jul '23 | Aug '23 | Sep '23 | Oct '23 | Nov '23 | Dec '23 | Jan '24 | Feb '24 | Mar '24 | Apr '24 | May '24 | Jun '24 | Jul '24 | Aug '24 | Sep '24 | Oct '24 | Nov '24 | Dec '24 | |||||||||||
2 | Program 1 | 52 | 66 | 112 | 8 | Process 1 | 160 | 0.84375 | Program 1 | 4 | 8 | 8 | 4 | 8 | 8 | 4 | 8 | 8 | 4 | 8 | 8 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 8 | |||||||||
3 | Program 2 | 89 | 122 | 96 | 10 | Process 2 | 160 | 0.84625 | Program 2 | 1 | 1 | 2 | 1 | 1 | 2 | 1 | 1 | 2 | 1 | 1 | 2 | 1 | 2 | 2 | 1 | 2 | 2 | 1 | 2 | 2 | 1 | 2 | 2 | |||||||||
4 | Program 3 | 60 | 150 | 115 | 11 | Process 3 | 160 | 0.86 | Program 3 | 17 | 17 | 34 | 17 | 34 | 17 | 17 | 34 | 17 | 34 | 17 | 34 | 17 | 17 | 17 | 17 | 17 | 34 | 17 | 17 | 17 | 17 | 17 | 34 | |||||||||
5 | Program 4 | 147 | 90 | 137 | 12 | Process 4 | 160 | 0.86 | Program 4 | 0 | 2 | 2 | 0 | 2 | 2 | 0 | 2 | 2 | 0 | 2 | 2 | 0 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | |||||||||
6 | Program 5 | 74 | 41 | 114 | 8 | Process 5 | 160 | 0.85 | Program 5 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 15 | 0 | 5 | 5 | 5 | 5 | 5 | 0 | 5 | 5 | 5 | 5 | 5 | |||||||||
7 | Program 6 | 110 | 142 | 128 | 13 | Process 6 | 160 | 0.8 | Program 6 | 0 | 15 | 0 | 15 | 0 | 15 | 15 | 0 | 15 | 0 | 15 | 15 | 0 | 15 | 0 | 15 | 0 | 15 | 15 | 0 | 15 | 0 | 15 | 15 | |||||||||
8 | Program 7 | 71 | 98 | 134 | 10 | Process 7 | 160 | 0.8 | Program 7 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 30 | 0 | 0 | 10 | 0 | 0 | 10 | 0 | 0 | 10 | 0 | 0 | 10 | |||||||||
9 | Program 8 | 126 | 5 | 115 | 8 | Process 8 | 160 | 0.8 | Program 8 | 0 | 0 | 7 | 0 | 7 | 0 | 0 | 7 | 0 | 7 | 0 | 7 | 7 | 7 | 7 | 7 | 7 | 14 | 7 | 7 | 7 | 7 | 7 | 14 | |||||||||
10 | Program 9 | 20 | 106 | 121 | 8 | Process 9 | 160 | 0.8 | Program 9 | 0 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 0 | 10 | 0 | 10 | 0 | 10 | 10 | 0 | 10 | 0 | 10 | 10 | |||||||||
11 | ||||||||||||||||||||||||||||||||||||||||||
12 | ||||||||||||||||||||||||||||||||||||||||||
13 | Jan '23 | Feb '23 | Mar '23 | Apr '23 | May '23 | Jun '23 | Jul '23 | Aug '23 | Sep '23 | Oct '23 | Nov '23 | Dec '23 | Jan '24 | Feb '24 | Mar '24 | Apr '24 | May '24 | Jun '24 | Jul '24 | Aug '24 | Sep '24 | Oct '24 | Nov '24 | Dec '24 | ||||||||||||||||||
14 | PROCESS 1 | Program 1 | 418.5 | 418.5 | 216 | 418.5 | 418.5 | 216 | 418.5 | 418.5 | 216 | 418.5 | 418.5 | 216 | 216 | 216 | 216 | 216 | 216 | 216 | 216 | 216 | 216 | 216 | 418.5 | 216 | ||||||||||||||||
15 | Program 2 | 94.5 | 94.5 | 94.5 | 189 | 94.5 | 94.5 | 189 | 94.5 | 94.5 | 189 | 94.5 | 189 | 189 | 94.5 | 189 | 189 | 94.5 | 189 | 189 | 94.5 | 189 | 189 | 94.5 | 189 | |||||||||||||||||
16 | Program 3 | 2052 | 2052 | 1026 | 2052 | 1026 | 1026 | 2052 | 1026 | 2052 | 1026 | 2052 | 1026 | 1026 | 1026 | 1026 | 1026 | 2052 | 1026 | 1026 | 1026 | 1026 | 1026 | 2052 | 1026 | |||||||||||||||||
17 | Program 4 | 0 | 297 | 0 | 297 | 297 | 0 | 297 | 297 | 0 | 297 | 297 | 297 | 297 | 297 | 297 | 297 | 297 | 297 | 297 | 297 | 0 | 297 | 297 | 297 | |||||||||||||||||
18 | Program 5 | 742.5 | 742.5 | 742.5 | 742.5 | 742.5 | 742.5 | 742.5 | 742.5 | 742.5 | 1120.5 | 0 | 378 | 378 | 378 | 378 | 378 | 0 | 378 | 378 | 378 | 378 | 378 | 0 | 0 | |||||||||||||||||
19 | Program 6 | 1660.5 | 0 | 1660.5 | 1660.5 | 0 | 1660.5 | 0 | 1660.5 | 1660.5 | 0 | 1660.5 | 0 | 1660.5 | 0 | 1660.5 | 1660.5 | 0 | 1660.5 | 0 | 1660.5 | 1660.5 | 0 | 0 | 0 | |||||||||||||||||
20 | Program 7 | 1431 | 1431 | 1431 | 1431 | 1431 | 1431 | 1431 | 1431 | 1431 | 2133 | 0 | 0 | 715.5 | 0 | 0 | 715.5 | 0 | 0 | 715.5 | 0 | 0 | 715.5 | 0 | 715.5 | |||||||||||||||||
21 | Program 8 | 891 | 0 | 0 | 891 | 0 | 891 | 0 | 891 | 891 | 891 | 891 | 891 | 891 | 1768.5 | 891 | 891 | 891 | 891 | 891 | 1768.5 | 0 | 0 | 891 | 0 | |||||||||||||||||
22 | Program 9 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 202.5 | 0 | 202.5 | 0 | 202.5 | 0 | 202.5 | 202.5 | 0 | 202.5 | 0 | 202.5 | 202.5 | |||||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
Q1:AZ1 | Q1 | =TEXT(DATE(2023,SEQUENCE(,12*COUNTIF(A1:D1,"<>'")-12),1),"mmm 'yy") |
P2:P10 | P2 | =UNIQUE(A2:A10) |
E2:E10 | E2 | =SUM(B2:D2)/30 |
P14:P22 | P14 | =UNIQUE(A2:A10) |
Q14,Q18,Q21:Q22 | Q14 | =ROUNDUP((X2*VLOOKUP($P14,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
R14:AN14,R16:AN16 | R14 | =ROUNDUP((S2*VLOOKUP($P14,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
Q15:Q16,Q20 | Q15 | =ROUNDUP((Z3*VLOOKUP($P15,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
R15:AN15,R18:AN18,R20:AN20 | R15 | =ROUNDUP((T3*VLOOKUP($P15,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
Q17 | Q17 | =ROUNDUP((AC5*VLOOKUP($P17,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
R17:AN17,R21:AN21 | R17 | =ROUNDUP((V5*VLOOKUP($P17,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
Q19 | Q19 | =ROUNDUP((AD7*VLOOKUP($P19,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
R19:AN19 | R19 | =ROUNDUP((U7*VLOOKUP($P19,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
R22:AN22 | R22 | =ROUNDUP((R10*VLOOKUP($P22,$A$2:$B$10,2,FALSE))/(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))),1)*(VLOOKUP($O$14,$J$1:$L$10,2,FALSE)*(VLOOKUP($O$14,$J$1:$L$10,3,FALSE))) |
Dynamic array formulas. |