• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Delimit the cell values

Kamalakar1980

New Member
Hi Team,

I have a data like as below

R IDR NAME
1001​
IT Dir
Technical dir
Telecommunications dir
1002​
Implementation mgr
project mgr
Programme mgr

Each cell value in the column "R NAME" is the combination of the roles.

Want to break this input into following output as below:

R IDR NAME
1001​
IT Dir
1001​
Technical dir
1001​
Telecommunications dir
1002​
Implementation mgr
1002​
project mgr
1002​
Programme mgr

can you please help me here.

Regards,
Kamal M.
 
What is your Excel version using now ? and

Which is your selected solution : Formula, VBA or Power Query ?
 
Last edited:
Hi Bosco,

I am looking at the solution should be using excel formula or VBA

Regards,
Kamal M.
 
Last edited by a moderator:
Try,

In D2, array formula ("Ctrl+shift+Enter") copied across and down :

=IFERROR(FILTERXML("<a><b>"&CONCAT(SUBSTITUTE($B$2:$B$3&CHAR(10),CHAR(10),"</b><b>"&$A$2:$A$3&"</b><b>"))&"</b></a>","a/b["&ROW($A1)*2-COLUMN(A$1)+1&"]"),"")

77840
 
Back
Top