Is there is a simple formula that would let me pull a three letter or a four letter code from the middle of the string?
Column A shows the data dump from the system
Column B is my attempt to pull the code in a multi step process. (very inefficient way to do it.... I am sure there is a better way)
Column C is what I need (I manually typed the results for the purpose of this post)
The word "Policy" will always be the beginning of the string followed by a blank space, then "-", then blank space, then a code
Code can only be either 3 letters or 4 letters
Result column will show a blank cell if the string does not begin with the word "Policy" like in row 3 or 12-16
Any help is greatly appreciated.
Column A shows the data dump from the system
Column B is my attempt to pull the code in a multi step process. (very inefficient way to do it.... I am sure there is a better way)
Column C is what I need (I manually typed the results for the purpose of this post)
The word "Policy" will always be the beginning of the string followed by a blank space, then "-", then blank space, then a code
Code can only be either 3 letters or 4 letters
Result column will show a blank cell if the string does not begin with the word "Policy" like in row 3 or 12-16
Any help is greatly appreciated.