So, based on a good amount of previous searching I've almost created a nested formula which does what I need, but I am currently falling at the last fence! Hopefully someone here can help out.
I am trying to remove all non-alpha characters from a text string and through a huge nest of SUBSTITUTE functions I have removed all the numerical, punctuation, double byte characters and spaces, from my starting data to get to a string with just alpha-characters and those which excel considers wildcards too (? and *).
I have also discovered that with a combined REPLACE/SEARCH function I can remove the first instance of a wildcard but where there are multiple instances I'm stumped!! Any ideas??
Example of original string:
"TAMINITRASFORMATORIS.R.L.?33VIAEMILIAN.3720077MEL?"
Example string after cleaning:
"TAMINITRASFORMATORISRL?VIAMILIANMEL?"
=REPLACE(A2),SEARCH("~?",A2),1,"") will remove the first instance of ? but not the second.
I am trying to remove all non-alpha characters from a text string and through a huge nest of SUBSTITUTE functions I have removed all the numerical, punctuation, double byte characters and spaces, from my starting data to get to a string with just alpha-characters and those which excel considers wildcards too (? and *).
I have also discovered that with a combined REPLACE/SEARCH function I can remove the first instance of a wildcard but where there are multiple instances I'm stumped!! Any ideas??
Example of original string:
"TAMINITRASFORMATORIS.R.L.?33VIAEMILIAN.3720077MEL?"
Example string after cleaning:
"TAMINITRASFORMATORISRL?VIAMILIANMEL?"
=REPLACE(A2),SEARCH("~?",A2),1,"") will remove the first instance of ? but not the second.