Hi ah - That will only work if every string is of the same format and length as the one in the example, but if that were the case then the OP may as well use Data / Text To Columns / Fixed Width.
Regards
Ken..............
---------------------------------------------------------------------------- It's easier to beg forgiveness than ask permission
Another way to do this, would be to use Excel's Replace Tool (i.e. Edit->Replace... [or Ctrl+H])
In the "Find What" field enter "*BPP" ' The asterisk " * " before "BPP" tells Excel to replace everything BEFORE "BPP".
In the "Replace With" field Blank or an apostrophy " ' " ' Using the example string, this would return 0355, which Excel will automatically recognize as a number and display just 355. If you want the "0355" to be shown, then enter an apostrophe " ' " in the "Replace With" field.
Just another option. ;-)
Peace!!
Mike
Didn't get the answers that you wanted? Then . . . Click Here
Click on every cell, hit F2, hit left arrow repeatedly until you get to the B before the PP, then, right arrow back to the last P, then backspace back to the start, type apostrophe and then hit enter. then move to the next cell and repeat
It's possible I'd go with one of the other responses before resorting to this one though
Regards
Ken...................
---------------------------------------------------------------------------- It's easier to beg forgiveness than ask permission
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.