Need to remove extra character

Harini1100

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

Kindly help to remove the additional * from the source data, below is the sample file,

1709902502621.png
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi, one option you could try (this assumes that the "Λ" character will never appear in the source text):

Book1
AB
1adsd sda sa ***** sadsa bfd*asd******dsad **s dss dadsd sda sa * sadsa bfd*asd*dsad *s dss d
Sheet1
Cell Formulas
RangeFormula
B1B1=SUBSTITUTE(SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE(A1," ","Λ"),"*"," "))," ","*"),"Λ"," ")
 
Upvote 0
Solution
If you are using Excel 365, I think this would work as well:
=TEXTJOIN("*",TRUE,TEXTSPLIT(A1,"*"))
 
Upvote 0

Forum statistics

Threads
1,215,267
Messages
6,123,964
Members
449,137
Latest member
yeti1016

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