I have a list of alphanumeric strings.
Starting Point
The cat sat on the mat.
The dog slept on the cushion.
The dromedary stood on the sand.
The lion did whatever it pleased.
The dromedary sat on the mat.
Fixed strings to delete:
The cat sat
The dog slept
The dromedary stood
The lion
The dromedary
Finishing point
on the mat.
on the cushion.
on the sand.
did whatever it pleased.
sat on the mat.
I tried nesting it using.:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A5,$A$22,""),A5,$A$23,""),A5,$A$24,""),A5,$A$25,""),$A$26,"")
However, I guess this only works when there are MULTIPLE substitutions to be made from within a single cell. I have ONE substitution to make from each cell in the list, from a relatively small pool of possible strings.
see attached sheet.
I don't do VBA.... NO knowledge of it whatsoever!!
Bookmarks