Hi,
I have a column that looks like this:
ABC - Delhi
Mumbai
DEF - Kolkata - Apple
GHI - Chennai-Ball
And I want the output to be like the following:
[Column 1] [Column 2]
ABC Delhi
Mumbai
DEF Kolkata - Apple
GHI Chennai-Ball
So, if there's a dash I want all the text before the first dash to go into Column 1 and the remaining goes into Column 2, and if there's no dash, then all text goes into Column 2.
Please guide!
Thanks.