ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I remove unwanted characters within a text string. (https://www.excelbanter.com/excel-discussion-misc-queries/219357-how-do-i-remove-unwanted-characters-within-text-string.html)

Bill

how do I remove unwanted characters within a text string.
 
I have parantheses appearing randomally in my results and want to remove them
from results. Is there a function which would do this.

Fred Smith[_4_]

how do I remove unwanted characters within a text string.
 
You substitute them with nothing, as in:
=Substitute(a1,"(","")

You can nest this command if you want to do more than one character at a
time:
=substitute(substitute(a1,"(",""),")","")

Regards,
Fred

"bill" wrote in message
...
I have parantheses appearing randomally in my results and want to remove
them
from results. Is there a function which would do this.



Dave Peterson

how do I remove unwanted characters within a text string.
 
Is there any chance that the ()'s mean that the results (numbers) should be
negative?

Could it be a formatting change instead?

bill wrote:

I have parantheses appearing randomally in my results and want to remove them
from results. Is there a function which would do this.


--

Dave Peterson


All times are GMT +1. The time now is 07:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com