Hi Guys,
I need help with splitting text that has multiple delimiters.
Name 1 2 3 4 5 6 7 8 9 Jim (1) Brown (2) Matt (3) Jim 1 Brown 2 Matt 3
The table shown has 10 columns and 2 rows and originates at cell A1.
The entry in cell A2 is manually added and would continue down depending on the X number of entries.
The expected results are as shown on the table.
Cell B2 is where I would put my first formula, to be dragged down and to the side.
I used this formula:
=TRIM(MID(SUBSTITUTE($A2,"(1)",REPT(" ",LEN($A2))),(B1-1)*LEN($A2)+1,LEN($A2)))
It is with the part that is colored red that I am having a problem. It only works if it can find "(1)", and if the value inside the parenthesis changes, it no longer works.
I dont know how to incorporate wildcards. I tried, but it did not work.
Hoping you can help me out.
Thanks as always.
Bookmarks