Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 332
- Office Version
- 365
- Platform
- Windows
Hello, I am trying to identify how to take one table and turn it into a different design with a different format. I have about 300 lines of programs that I need to take from the "top" table and turn it into the bottom table.
Thoughts?
Thoughts?
Prestons Playground for Modeling.xlsx | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | Program | Process 1 | Process 2 | Process 3 | Process 4 | Process 5 | Process 6 | Process 7 | Process 8 | Process 9 | Process 10 | Process 11 | Process 12 | Process 13 | Process 14 | Process 15 | Process 16 | Total | ||
2 | Program 1 | 2 | 5 | 8 | 0 | 20 | 27 | 8 | 6 | 30 | 9 | 9 | 19 | 7 | 10 | 27 | 6 | 193 | ||
3 | Program 2 | 13 | 8 | 26 | 17 | 7 | 11 | 20 | 7 | 25 | 30 | 28 | 27 | 14 | 2 | 24 | 8 | 267 | ||
4 | Program 3 | 3 | 25 | 0 | 14 | 0 | 4 | 10 | 21 | 16 | 3 | 4 | 0 | 24 | 13 | 4 | 1 | 142 | ||
5 | Program 4 | 28 | 18 | 11 | 28 | 6 | 5 | 0 | 21 | 0 | 8 | 27 | 27 | 15 | 29 | 14 | 5 | 242 | ||
6 | Program 5 | 1 | 16 | 30 | 25 | 9 | 2 | 27 | 20 | 28 | 3 | 9 | 16 | 19 | 9 | 22 | 8 | 244 | ||
7 | Program 6 | 26 | 17 | 6 | 24 | 10 | 3 | 4 | 0 | 0 | 0 | 9 | 26 | 19 | 9 | 0 | 2 | 155 | ||
8 | Program 7 | 10 | 13 | 3 | 3 | 24 | 0 | 2 | 1 | 21 | 27 | 15 | 22 | 26 | 27 | 22 | 21 | 237 | ||
9 | Program 8 | 1 | 18 | 0 | 0 | 20 | 2 | 10 | 17 | 1 | 12 | 11 | 17 | 12 | 13 | 29 | 3 | 166 | ||
10 | Program 9 | 15 | 24 | 0 | 23 | 11 | 21 | 20 | 7 | 10 | 24 | 1 | 16 | 10 | 2 | 27 | 20 | 231 | ||
11 | Program 10 | 17 | 20 | 21 | 0 | 17 | 0 | 0 | 11 | 27 | 22 | 7 | 18 | 22 | 20 | 16 | 14 | 232 | ||
12 | Program 11 | 26 | 0 | 14 | 0 | 1 | 14 | 10 | 0 | 22 | 23 | 7 | 13 | 6 | 22 | 9 | 5 | 172 | ||
13 | Program 12 | 23 | 16 | 14 | 21 | 18 | 0 | 19 | 2 | 13 | 0 | 15 | 11 | 0 | 27 | 5 | 29 | 213 | ||
14 | Program 13 | 13 | 18 | 13 | 11 | 14 | 0 | 24 | 9 | 29 | 0 | 4 | 12 | 20 | 0 | 22 | 10 | 199 | ||
15 | Program 14 | 28 | 25 | 2 | 14 | 9 | 3 | 9 | 18 | 29 | 13 | 28 | 19 | 5 | 2 | 3 | 20 | 227 | ||
16 | ||||||||||||||||||||
17 | How to only pull data from the row if the value is greater than 0, then add to a different table, transposed. Make the Program Name equal to column A and put the applicable process name in column D. | |||||||||||||||||||
18 | ||||||||||||||||||||
19 | ||||||||||||||||||||
20 | Program Name | Step Duration | Days from Start | Process Name | ||||||||||||||||
21 | Program 1 | 2 | 193 | Process 1 | ||||||||||||||||
22 | Program 1 | 5 | 191 | Process 2 | ||||||||||||||||
23 | Program 1 | 8 | 186 | Process 3 | ||||||||||||||||
24 | Program 1 | 20 | 178 | Process 5 | ||||||||||||||||
25 | Program 1 | 27 | 158 | Process 6 | ||||||||||||||||
26 | Program 1 | 8 | 131 | Process 7 | ||||||||||||||||
27 | Program 1 | 6 | 123 | Process 8 | ||||||||||||||||
28 | Program 1 | 30 | 117 | Process 9 | ||||||||||||||||
29 | Program 1 | 9 | 87 | Process 10 | ||||||||||||||||
30 | Program 1 | 9 | 78 | Process 11 | ||||||||||||||||
31 | Program 1 | 19 | 69 | Process 12 | ||||||||||||||||
32 | Program 1 | 7 | 50 | Process 13 | ||||||||||||||||
33 | Program 1 | 10 | 43 | Process 14 | ||||||||||||||||
34 | Program 1 | 27 | 33 | Process 15 | ||||||||||||||||
35 | Program 1 | 6 | 6 | Process 16 | ||||||||||||||||
36 | Program 2 | 13 | 267 | Process 1 | ||||||||||||||||
37 | Program 2 | 8 | 254 | Process 2 | ||||||||||||||||
38 | Program 2 | 26 | 246 | Process 3 | ||||||||||||||||
39 | Program 2 | 17 | 220 | Process 4 | ||||||||||||||||
40 | Program 2 | 7 | 203 | Process 5 | ||||||||||||||||
41 | Program 2 | 11 | 196 | Process 6 | ||||||||||||||||
42 | Program 2 | 20 | 185 | Process 7 | ||||||||||||||||
43 | Program 2 | 7 | 165 | Process 8 | ||||||||||||||||
44 | Program 2 | 25 | 158 | Process 9 | ||||||||||||||||
45 | Program 2 | 30 | 133 | Process 10 | ||||||||||||||||
46 | Program 2 | 28 | 103 | Process 11 | ||||||||||||||||
47 | Program 2 | 27 | 75 | Process 12 | ||||||||||||||||
48 | Program 2 | 14 | 48 | Process 13 | ||||||||||||||||
49 | Program 2 | 2 | 34 | Process 14 | ||||||||||||||||
50 | Program 2 | 24 | 32 | Process 15 | ||||||||||||||||
51 | Program 2 | 8 | 8 | Process 16 | ||||||||||||||||
Sheet6 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
R2:R15 | R2 | =SUM(Table6[@[Process 1]:[Process 16]]) |
C21:C35 | C21 | =SUM(B21:$B$35) |
C36:C51 | C36 | =SUM(B36:$B$51) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B2:Q15 | Cell Value | =0 | text | NO |