You might be able to do it with some complicated combination of LEFT/MID/SUBSTITUTE/FIND/SEARCH, possibly with the help of some helper columns, but it will depend entirely on the make-up of the [useful data string] and the [junk].
For example, it might be possible to do it with this mix of useful letters and junk numbers:thisisuseful123,soisthis456,andthis7890,
making it into:thisisuseful;soisthis;andthis
But this, with both useful data and junk being a mix of letters and numbers, would be impossible:thisnumber12isuseful99junk99,andthisnumber34too98junk98,andthis56aswell97junk97,
The reason is that there would be no way of knowing that the correct scrubbed version should be:thisnumber12isuseful;andthisnumber34too;andthis56aswell
instead of:thisnumber;andthisnumber;andthis
or:thisnumber12isuseful99junk;andthisnumber34too98junk;andthis56aswell97junk
Can you upload a sample file to let us see what sort of combinations you have? We can then let you know if it's possible but difficult, or impossible.
(Click 'Go Advanced' below the reply box, then 'Manage Attachments' - make sure you don't include any confidential data.)
Bookmarks