Excel 2019 Windows 10
I have 26352 cells, each on a seperate row, that contains a text string of various lengths.
Some of the text strings have been entered incorrectly by a previous user and a " " blank space was introduced, some times 2 or more.
I need a formula or VBA function that will look at each text string and IF it contains a " " blank space or spaces then it returns that string. If there are no blank spaces it returns nothing (ignores it).
I know I could use substitute() and replace any spaces but that is not what I am trying to achieve, I just want a list of all text strings that have the errant " " space.
I have tried the FIND function but to my laymans eyes it requires a LEFT, MID or RIGHT element but I need the WHOLE string to be searched.
For illustration purposes
A perfect string looks like: Loremipsumdolorsit[amet],(consectetur)_adipiscing_elit
A string with the error looks like Loremipsumdolor sit[amet],(consectetur) adipiscing_elit
So the formula or VBA would only reurn or display the string with the error.
Thanks.
I have 26352 cells, each on a seperate row, that contains a text string of various lengths.
Some of the text strings have been entered incorrectly by a previous user and a " " blank space was introduced, some times 2 or more.
I need a formula or VBA function that will look at each text string and IF it contains a " " blank space or spaces then it returns that string. If there are no blank spaces it returns nothing (ignores it).
I know I could use substitute() and replace any spaces but that is not what I am trying to achieve, I just want a list of all text strings that have the errant " " space.
I have tried the FIND function but to my laymans eyes it requires a LEFT, MID or RIGHT element but I need the WHOLE string to be searched.
For illustration purposes
A perfect string looks like: Loremipsumdolorsit[amet],(consectetur)_adipiscing_elit
A string with the error looks like Loremipsumdolor sit[amet],(consectetur) adipiscing_elit
So the formula or VBA would only reurn or display the string with the error.
Thanks.