Hi
I have a table of process steps and process times for different IDs. However, some of my process steps occur more than once in the process for each ID. I would like to create a column that separates all the process steps into either "synthesis" or "processing". These groups would be determined based on if they occur before or after another process step.
I want the formula to find the time of the spawn step FOR EACH ID and compare it to all the other process step times for that ID.
I was trying to use some sort of loop, but I am new at scripting and loops are very confusing!
Is there any way to do this???
For example, what I have looks like this and I want to add the Category column.
| ID | Process Step | Process time | Category |
| 10 | Drying | 9:00 | Synthesis |
| 10 | Spawned | 9:30 | Synthesis |
| 10 | Drying | 10:00 | Processing |
| 10 | Finished | 11:00 | Processing |
| 11 | Drying | 2:00 | Synthesis |
| 11 | Spawned | 2:30 | Synthesis |
| 11 | Drying | 2:45 | Processing |
| 11 | Finished | 4:00 | Processing |
| 12 | Drying | 7:30 | Synthesis |
| 12 | Spawned | 7:45 | Synthesis |
| 12 | Drying | 8:00 | Processing |
| 12 | Finished | 9:00 | Processing |
Any ideas??
Thank you!