View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
brantty brantty is offline
external usenet poster
 
Posts: 16
Default How to remove characters in a cell that precede a specific hyp

Here's a few mo

Here's a few more examples

ABA-12345M-12345M
ABA-C12345-C12345
ABC-18L123-18L123
ABC-Q456789JJ-Q456789JJ


"FSt1" wrote:

hi,
you said the number of characters vary. could you supply more examples of
the data?

Regards
FSt1

"brantty" wrote:

I have a column of cells that have excess data that needs removed. The #of
characters vary. I'm needing a formula to delete all the characters that
precede the 2nd hyphen as well as delete the 2nd hyphen.

Ex. [ABC-12345-12345]

I need the cell to read [12345]

Can anyone provide a formula that can remove this data?