Replacing characters

I need to remove from the value of [ID] ([just in case [ID]="A1-433434534") all the characters before the dash and the dash itself. The characters up to the dash can always be different (A1, B7, D72 etc). The result should be like this – "433434534".
What formula should I apply? I'm guessing I need to use SUBSTITUTE()

Solved Solved
0 3 57
1 ACCEPTED SOLUTION

There can be several approaches, please try 

INDEX(SPLIT(SUBSTITUTE([ID],"-"," , "),","),2)

Another option could be

SUBSTITUTE(EXTRACTMENTIONS(SUBSTITUTE([ID],"-","@")),"@","")

And another option could be

RIGHT([ID],LEN([ID])-FIND("-",[ID]))

View solution in original post

3 REPLIES 3

There can be several approaches, please try 

INDEX(SPLIT(SUBSTITUTE([ID],"-"," , "),","),2)

Another option could be

SUBSTITUTE(EXTRACTMENTIONS(SUBSTITUTE([ID],"-","@")),"@","")

And another option could be

RIGHT([ID],LEN([ID])-FIND("-",[ID]))

Thanks, 1st variant worked.

You are welcome.

Top Labels in this Space