How to extract a code from a sentence?
I have got a text narrative from which I need to extract a code made up by 4 letters in Capital letter.
The code can be at the beginning, in the middle or at the end of the sentence but it's always separated from the other words.
Example with the code ADBC into the sentence:
long sentence here ABCD sentence continues
long sentence here ABCD
ABCD long sentence here
I have got 50 different codes and more than 10,000 rows from which I need to extract the code and insert it into a new column.
Is there a way to find a formula that can do this work?
Thanks
I have got a text narrative from which I need to extract a code made up by 4 letters in Capital letter.
The code can be at the beginning, in the middle or at the end of the sentence but it's always separated from the other words.
Example with the code ADBC into the sentence:
long sentence here ABCD sentence continues
long sentence here ABCD
ABCD long sentence here
I have got 50 different codes and more than 10,000 rows from which I need to extract the code and insert it into a new column.
Is there a way to find a formula that can do this work?
Thanks