Hello,
In a cell(s) I have for example {text}dd%2BMore_Text}
what i want to do is search and replace the final }
so it should be {text}dd%2BMore_Text
the regular search and replace in excel removes all } which is not what i need.
Thanks
Hello,
In a cell(s) I have for example {text}dd%2BMore_Text}
what i want to do is search and replace the final }
so it should be {text}dd%2BMore_Text
the regular search and replace in excel removes all } which is not what i need.
Thanks
Say that its in A1 in cell B1 try typing
=LEFT(A1,LEN(A1)-1)
Not sure if it will work so make sure you save before trying
if this works then simply delete row a1 after
This is not my expertise but this seems to work:
Assuming A1 contains the text to search.... and the final "}" is not necessarily the last character of the string...
example {aaaaa}bbbb}ccc will return {aaaaa}bbbbccc
Please Login or Register to view this content.
Last edited by tkowal; 06-01-2012 at 04:34 PM. Reason: Added conditions
Ted
"Live Long and Prosper"
thanks guys, i figured it out.. IF(RIGHT(A1,1)="}",LEFT(A1,LEN(A1)-1),A1)
Slightly shorter..
or even shorterPlease Login or Register to view this content.
Please Login or Register to view this content.
Last edited by Ace_XL; 12-09-2012 at 12:55 PM.
Life's a spreadsheet, Excel!
Say thanks, Click *
=substitute(a1&" ","} ","")
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks