View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.misc
[email protected] dolivastro@gmail.com is offline
external usenet poster
 
Posts: 46
Default Formula to return part of a text string

If the hyphen appears only once in the text, then use this:

=RIGHT(B2,LEN(B2)-FIND("-",B2))


Hope this helps,
Dom



luvthavodka wrote:
I have a clomun of cells with various codes in e.g:

Column A
42NAFF16-43
927PLY833-16FF
16ARBY1-1

etc..

The only common factor in all these references is the dash symbol. I am
looking to return in another column just the figures after the dash e.g:

Column B
43
16FF
1

I'm stuck as to what formula to use as I'm only used to chopping off a fixed
number of digits! Any help is greatly appreciated.