I need a formula that can remove all characters to the right of "]"
for example, if a1 = abcdefg]1234, I want b1 to return the value: 1234
I tried =RIGHT(a1,FIND("]",a1)-1), but that didn't really work. It returned: fg]1234![]()
I need a formula that can remove all characters to the right of "]"
for example, if a1 = abcdefg]1234, I want b1 to return the value: 1234
I tried =RIGHT(a1,FIND("]",a1)-1), but that didn't really work. It returned: fg]1234![]()
Last edited by Ocean Zhang; 09-22-2009 at 08:44 AM.
You quit trying too soon.
=RIGHT(A1, FIND("]", A1) + 1, 1024)
Entia non sunt multiplicanda sine necessitate
shg, did you mean to use MID ?
other alternatives might be:
=RIGHT(A1,LEN(A1)-FIND("]",A1))
or
=REPLACE(A1,1,FIND("]",A1),"")
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
One more method..
Select the column..
Click on Data--> Text to column
Select Delimited radio button.
In others type ]
Click on OK...
Shijesh Kumar
http://shijesh.wordpress.com/
I did, thank you, DOshg, did you mean to use MID ?![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks