Need help on delimiter

Harini1100

New Member
Joined
Mar 5, 2024
Messages
14
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
Hello Team,

I need to do the segregation for my employees, kindly help me with some formula. Please note the formula should run till end of the last line in the data.

~ is the Key here, but I want the individual employee in rows.

I will use this formula to exclude the additional * =SUBSTITUTE(SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE(A1," ","Λ"),"*"," "))," ","*"),"Λ"," ")

It would be great that i get single formula to remove extra * and split the employee in rows.

Thanks in Advance...!

1709920588243.png
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
will ~ always be the first character, if so that can be ignored and not product a row
=TEXTSPLIT(A1,,"~",,1)
Book2
ABC
1~123~456 
2123
3456
4
Sheet1
Cell Formulas
RangeFormula
C1:C3C1=TEXTSPLIT(A1,,"~",,1)
Dynamic array formulas.
 
Upvote 0
Another option to do both
Excel Formula:
=TEXTSPLIT(TEXTJOIN("*",,TEXTSPLIT(A2,"*")),,"~",1)
 
Upvote 0
Please try this
=TEXTSPLIT(A1,"*","~",TRUE)

I assumed that the asterisk between Jack and Smith was not supposed to be there
 
Upvote 0

Forum statistics

Threads
1,215,307
Messages
6,124,163
Members
449,146
Latest member
el_gazar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top