Remove Sequential Repeats

  • Thread starter Jakobshavn Isbrae
  • Start date
J

Jakobshavn Isbrae

I have a single column of data containing variable length text strings. In
some of the data, characters repeat sequentially. For example AABBCCDD
I need a function or formula that removes sequential repeats.

if
input: AABBCC output: ABC
input: AAAAAA output: A
input: AAABBC output: ABC
input: ABCDEF output: ABCDEF
input: BAAAAB output: BAB
input: DD output: D

Any suggestions will be greatly appreciated!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top