Hi There,
Here is the screen shot of my problem scenario and output required....
Forum experts help is highly appreciated to solve this problem...
Thank you...
Here is the screen shot of my problem scenario and output required....
Forum experts help is highly appreciated to solve this problem...
Thank you...
Box Number Generator Problem Description.xlsx | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | |||
1 | Box Number Generator | ||||||||||||||||||||||||
2 | |||||||||||||||||||||||||
3 | Technical Terms used: | ||||||||||||||||||||||||
4 | 1. Lot Number | ||||||||||||||||||||||||
5 | 2. Size | ||||||||||||||||||||||||
6 | 3. Pairs | ||||||||||||||||||||||||
7 | 4.Box Number | ||||||||||||||||||||||||
8 | |||||||||||||||||||||||||
9 | Scenario: | ||||||||||||||||||||||||
10 | 1. A lot number is a 5 digit unique identity number given for a group of pairs from different sizes. | ||||||||||||||||||||||||
11 | 2. A lot will have minimum 18 Pairs and maximum of 144 pairs in different sizes and multiples of 18 pairs (eg. 18,36,54,72,90,108,126,144) | ||||||||||||||||||||||||
12 | 3. Each size will have minimum zero pairs and maximum of 144 pairs and will be always multiple of 3. (eg. 0, 3, 6,9,12,15………max of 144) | ||||||||||||||||||||||||
13 | 4. Minimum size is 2.5 and increases with an increment of 0.5 and maximum would be 12. | ||||||||||||||||||||||||
14 | |||||||||||||||||||||||||
15 | Picotral Representation of a typical scenario: | ||||||||||||||||||||||||
16 | Sizes / Pairs | ||||||||||||||||||||||||
17 | Lot Number: | 2.5 | 3 | 3.5 | 4 | 4.5 | 5 | 5.5 | 6 | 6.5 | 7 | 7.5 | 8 | 8.5 | 9 | 9.5 | 10 | 10.5 | 11 | 11.5 | 12 | Total Pairs | |||
18 | 12345 | 3 | 6 | 9 | 12 | 15 | 24 | 36 | 36 | 3 | 144 | ||||||||||||||
19 | 67890 | 15 | 3 | 3 | 9 | 12 | 15 | 3 | 12 | 72 | |||||||||||||||
20 | 78901 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 6 | 36 | ||||||||||||
21 | |||||||||||||||||||||||||
22 | |||||||||||||||||||||||||
23 | Objective: | ||||||||||||||||||||||||
24 | |||||||||||||||||||||||||
25 | 1.When a size run is filled up for a lot number, then these sizes has to be split/ grouped into sum of 12 pairs. | ||||||||||||||||||||||||
26 | 2. Each group of pairs (called Box ) will be assigned a box number starting from 1 to maximum of 12. | ||||||||||||||||||||||||
27 | 3. A full box will have maximum of 12 pairs and minmum of 3 pairs and always be either 3 or 6 or 9 or 12. | ||||||||||||||||||||||||
28 | 4. Sizes more than 12 pairs are split into multiples of 12 and assigned box number | ||||||||||||||||||||||||
29 | 5. Sizes less than 12 are grouped with other sizes to make up 12 pairs if possible to form a box. | ||||||||||||||||||||||||
30 | 6. 3 can join only with 9, if this option is not available then the second option is to join with 6 & 3 . Simillarly 6 can join only with 6 or 3 & 3. 9 can join with 3 | ||||||||||||||||||||||||
31 | 7. A box can have minimum one size and maximum of 4 sizes | ||||||||||||||||||||||||
32 | |||||||||||||||||||||||||
33 | A typical grouping of size / pairs into Box numbers for the above 3 lot numbers is as follows: | ||||||||||||||||||||||||
34 | |||||||||||||||||||||||||
35 | Lot No. | 12345 | |||||||||||||||||||||||
36 | Box Number | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ||||||||||||
37 | Size | 2.5 | 3.5 | 4.5 | 5.5 | 6.5 | 6.5 | 7 | 7 | 7 | 7.5 | 7.5 | 7.5 | ||||||||||||
38 | Pairs | (1-3) | (1-6) | (1-12) | (1-12) | (1-12) | (13-24) | (1-12) | (13-24) | (25-36) | (1-12) | (13-24) | (25-36) | ||||||||||||
39 | |||||||||||||||||||||||||
40 | Size | 4 | 5.5 | ||||||||||||||||||||||
41 | Pairs | (1-9) | (13-15) | ||||||||||||||||||||||
42 | |||||||||||||||||||||||||
43 | Size | 10.5 | |||||||||||||||||||||||
44 | Pairs | (1-3) | * | ||||||||||||||||||||||
45 | |||||||||||||||||||||||||
46 | Size | ||||||||||||||||||||||||
47 | Pairs | ||||||||||||||||||||||||
48 | |||||||||||||||||||||||||
49 | Lot No. | 67890 | |||||||||||||||||||||||
50 | Box Number | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ||||||||||||
51 | Size | 3 | 3 | 3.5 | 5 | 5.5 | 8.5 | ||||||||||||||||||
52 | Pairs | (1-12) | (13-15) | (1-3) | (1-12) | (1-12) | (1-12) | ||||||||||||||||||
53 | |||||||||||||||||||||||||
54 | Size | 4.5 | 4 | ||||||||||||||||||||||
55 | Pairs | (1-9) | (1-3) | ||||||||||||||||||||||
56 | |||||||||||||||||||||||||
57 | Size | 5.5 | |||||||||||||||||||||||
58 | Pairs | (13-15) | |||||||||||||||||||||||
59 | |||||||||||||||||||||||||
60 | Size | 7 | |||||||||||||||||||||||
61 | Pairs | (1-3) | |||||||||||||||||||||||
62 | |||||||||||||||||||||||||
63 | Lot No. | 78901 | |||||||||||||||||||||||
64 | Box Number | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ||||||||||||
65 | Size | 3.5 | 5.5 | 7.5 | |||||||||||||||||||||
66 | Pairs | (1-3) | (1-3) | (1-3) | |||||||||||||||||||||
67 | |||||||||||||||||||||||||
68 | Size | 4 | 6 | 8 | |||||||||||||||||||||
69 | Pairs | (1-3) | (1-3) | (1-3) | |||||||||||||||||||||
70 | |||||||||||||||||||||||||
71 | Size | 4.5 | 6.5 | 8.5 | |||||||||||||||||||||
72 | Pairs | (1-3) | (1-3) | (1-6) | |||||||||||||||||||||
73 | |||||||||||||||||||||||||
74 | Size | 5 | 7 | ||||||||||||||||||||||
75 | Pairs | (1-3) | (1-3) | ||||||||||||||||||||||
76 | |||||||||||||||||||||||||
Problem Description |
Cell Formulas | ||
---|---|---|
Range | Formula | |
V18:V20 | V18 | =SUM(B18:U18) |