MrTinkertrain
Board Regular
- Joined
- Feb 7, 2007
- Messages
- 66
- Office Version
- 365
- 2021
Dear Excel-gurus,
I have got the following (mini)sheet
Column F displays the current stock level in the warehouse of the customer
Column G displays the stock that is in transit (underway to the customer)
Column H displays the free available stock in our warehouse
Column I displays the stock which still needs to be produced
From column J onwards it shows the forecasted demand per week for the coming year.
In cells J5,K5,L5 etc. the particular weeks are displayed.
So the stock levels will be running out for each item in a certain point of time.
With conditional formatting I get sort of a visual representation of that.
I would like to build a formula which will display the particular week (as displayed in J5,K5 etc.) when the stock levels of an item will be running out.
For the second item on the list that would be "WK 18" and for the 5th item that would be "WK 14" etc.
I have been struggling with it for quite a while to no avail yet.
So I was hoping someone could push me in the right direction.
Thanks in advance for the effort
Mike
I have got the following (mini)sheet
Concept VMI analyse-voorbeeld VMI.xlsx | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |||
5 | ArtikelCode | EenheidCode | Stock customer | Stock in transit | Stock available | Still to produce | WK02 | WK03 | WK04 | WK05 | WK06 | WK07 | WK08 | WK09 | WK10 | WK11 | WK12 | WK13 | WK14 | WK15 | WK16 | WK17 | WK18 | WK19 | WK20 | WK21 | ||
6 | L560.65.0125 | KG | 317 | 39 | 39 | 39 | 118 | |||||||||||||||||||||
7 | L560.65.0120 | KG | 259 | 555 | 171 | 132 | 118 | 277 | 118 | |||||||||||||||||||
8 | L560.65.0122 | KG | 582 | 158 | 79 | 79 | 79 | |||||||||||||||||||||
9 | L560.65.0124 | KG | 861 | 229 | 229 | |||||||||||||||||||||||
10 | L560.65.0123 | KG | 2172 | 545 | 877 | 832 | 178 | 661 | 1024 | 1612 | ||||||||||||||||||
11 | L560.65.0126 | KG | 1271 | 1500 | 398 | 178 | 178 | 183 | 362 | 546 | 435 | |||||||||||||||||
12 | L560.65.0119 | KG | 2045 | 5000 | 3922 | 1596 | 1258 | 178 | 481 | 178 | 178 | 1686 | 535 | 4630 | 893 | |||||||||||||
13 | L560.65.0121 | KG | 1679 | 661 | 441 | 863 | ||||||||||||||||||||||
14 | L560.65.0118 | KG | 799 | 143 | 135 | 32 | 112 | 32 | 48 | 32 | 48 | 60 | 309 | 393 | ||||||||||||||
15 | L560.65.0117 | KG | 970 | 2000 | 473 | 117 | 161 | 173 | 205 | 154 | 332 | 225 | 241 | 173 | 668 | 48 | 60 | 852 | 1153 | |||||||||
16 | L560.65.0116 | KG | 503 | 1000 | 43 | 299 | 255 | 43 | 131 | |||||||||||||||||||
17 | L560.65.0115 | KG | 1479 | 1000 | 603 | 341 | 198 | 204 | 38 | 38 | 200 | 402 | 38 | 740 | 643 | |||||||||||||
18 | L560.65.0114 | KG | 1667 | 1500 | 1135 | 1052 | 198 | 96 | 96 | 992 | 95 | 1137 | 1949 | |||||||||||||||
19 | L560.65.0113 | KG | 2842 | 5000 | 3302 | 2054 | 1587 | 345 | 534 | 237 | 259 | 1933 | 221 | 787 | 5448 | 1284 | ||||||||||||
20 | L560.65.0112 | KG | 1964 | 815 | 815 | 175 | 88 | 734 | 87 | 577 | 959 | |||||||||||||||||
21 | L560.65.0109 | KG | 687 | |||||||||||||||||||||||||
22 | L560.65.0106 | KG | 1115 | 1371 | 613 | 208 | 226 | 613 | 839 | |||||||||||||||||||
23 | L560.65.0082 | KG | 2269 | 2000 | 680 | 231 | 251 | 680 | 932 | |||||||||||||||||||
24 | L560.65.0055 | KG | 707 | 112 | 112 | 46 | 27 | |||||||||||||||||||||
25 | L560.65.0067 | KG | 404 | 102 | 102 | 62 | 22 | 62 | 62 | 62 | 61 | |||||||||||||||||
8589000016317_200106 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
J6:J25 | Expression | =SOM($F6:$I6)<SOM($J6:$J6) | text | YES |
J6:J25 | Expression | =SOM($F6:$I6)>=SOM($J6:$J6) | text | YES |
K6:K25,K28:K47 | Expression | =SOM($F6:$I6)<SOM($J6:$K6) | text | YES |
K6:K25,K28:K47 | Expression | =SOM($F6:$I6)>=SOM($J6:$K6) | text | YES |
L6:L25,L28:L47 | Expression | =SOM($F6:$I6)<SOM($J6:$L6) | text | YES |
L6:L25,L28:L47 | Expression | =SOM($F6:$I6)>=SOM($J6:$L6) | text | YES |
M6:M25,M28:M47 | Expression | =SOM($F6:$I6)<SOM($J6:$M6) | text | YES |
M6:M25,M28:M47 | Expression | =SOM($F6:$I6)>=SOM($J6:$M6) | text | YES |
N6:N25,N28:N47 | Expression | =SOM($F6:$I6)<SOM($J6:$N6) | text | YES |
N6:N25,N28:N47 | Expression | =SOM($F6:$I6)>=SOM($J6:$N6) | text | YES |
O6:O25,O28:O47 | Expression | =SOM($F6:$I6)<SOM($J6:$O6) | text | YES |
O6:O25,O28:O47 | Expression | =SOM($F6:$I6)>=SOM($J6:$O6) | text | YES |
P6:P25,P28:P47 | Expression | =SOM($F6:$I6)<SOM($J6:$P6) | text | YES |
P6:P25,P28:P47 | Expression | =SOM($F6:$I6)>=SOM($J6:$P6) | text | YES |
Q6:Q25,Q28:Q47 | Expression | =SOM($F6:$I6)<SOM($J6:$Q6) | text | YES |
Q6:Q25,Q28:Q47 | Expression | =SOM($F6:$I6)>=SOM($J6:$Q6) | text | YES |
R6:R25,R28:R47 | Expression | =SOM($F6:$I6)<SOM($J6:$R6) | text | YES |
R6:R25,R28:R47 | Expression | =SOM($F6:$I6)>=SOM($J6:$R6) | text | YES |
S6:S25,S28:S47 | Expression | =SOM($F6:$I6)<SOM($J6:$S6) | text | YES |
S6:S25,S28:S47 | Expression | =SOM($F6:$I6)>=SOM($J6:$S6) | text | YES |
T6:T25,T28:T47 | Expression | =SOM($F6:$I6)<SOM($J6:$T6) | text | YES |
T6:T25,T28:T47 | Expression | =SOM($F6:$I6)>=SOM($J6:$T6) | text | YES |
U6:U25,U28:U47 | Expression | =SOM($F6:$I6)<SOM($J6:$U6) | text | YES |
U6:U25,U28:U47 | Expression | =SOM($F6:$I6)>=SOM($J6:$U6) | text | YES |
V6:V25,V28:V47 | Expression | =SOM($F6:$I6)<SOM($J6:$V6) | text | YES |
V6:V25,V28:V47 | Expression | =SOM($F6:$I6)>=SOM($J6:$V6) | text | YES |
W6:W25,W28:W47 | Expression | =SOM($F6:$I6)<SOM($J6:$W6) | text | YES |
W6:W25,W28:W47 | Expression | =SOM($F6:$I6)>=SOM($J6:$W6) | text | YES |
X6:X25,X28:X47 | Expression | =SOM($F6:$I6)<SOM($J6:$X6) | text | YES |
X6:X25,X28:X47 | Expression | =SOM($F6:$I6)>=SOM($J6:$X6) | text | YES |
Y6:Y25,Y28:Y47 | Expression | =SOM($F6:$I6)<SOM($J6:$Y6) | text | YES |
Y6:Y25,Y28:Y47 | Expression | =SOM($F6:$I6)>=SOM($J6:$Y6) | text | YES |
Z6:Z25,Z28:Z47 | Expression | =SOM($F6:$I6)<SOM($J6:$Z6) | text | YES |
Z6:Z25,Z28:Z47 | Expression | =SOM($F6:$I6)>=SOM($J6:$Z6) | text | YES |
AA6:AA25,AA28:AA47 | Expression | =SOM($F6:$I6)<SOM($J6:$AA6) | text | YES |
AA6:AA25,AA28:AA47 | Expression | =SOM($F6:$I6)>=SOM($J6:$AA6) | text | YES |
AB6:AB25,AB28:AB47 | Expression | =SOM($F6:$I6)<SOM($J6:$AB6) | text | YES |
AB6:AB25,AB28:AB47 | Expression | =SOM($F6:$I6)>=SOM($J6:$AB6) | text | YES |
AC6:AC25,AC28:AC47 | Expression | =SOM($F6:$I6)<SOM($J6:$AC6) | text | YES |
AC6:AC25,AC28:AC47 | Expression | =SOM($F6:$I6)>=SOM($J6:$AC6) | text | YES |
Column F displays the current stock level in the warehouse of the customer
Column G displays the stock that is in transit (underway to the customer)
Column H displays the free available stock in our warehouse
Column I displays the stock which still needs to be produced
From column J onwards it shows the forecasted demand per week for the coming year.
In cells J5,K5,L5 etc. the particular weeks are displayed.
So the stock levels will be running out for each item in a certain point of time.
With conditional formatting I get sort of a visual representation of that.
I would like to build a formula which will display the particular week (as displayed in J5,K5 etc.) when the stock levels of an item will be running out.
For the second item on the list that would be "WK 18" and for the 5th item that would be "WK 14" etc.
I have been struggling with it for quite a while to no avail yet.
So I was hoping someone could push me in the right direction.
Thanks in advance for the effort
Mike