I have a very large column of data that consistes of either 1, 2, or 3 phases, with each phase separated with the character "|". I would like to extract each phase and place into a separate column, as shown below (so take the label and create the Phase 1, Phase 2, and Phase 3 for each):
I am struggling with how to extract each phase from the lebel. Again, there are casses where there is 1, 2, or 3 phases.
Thanks,
Label | Phase 1 | Phase 2 | Phase 3 |
option xyz | options 345 | option xyz | options 345 | |
optoin xyz | options def |option rds | option xyz | options def | option rds |
Single option 123 | single option 123 |
I am struggling with how to extract each phase from the lebel. Again, there are casses where there is 1, 2, or 3 phases.
Thanks,