Hi,
Hope you might be able to help with this one. The formula I need to come up with is for Column E.
Column A and B give a list of all prefixes and their corresponding work type. This could be considered a 'legend' for the formula to lookup from.
Column D is freehand manually typed text, where each line represents a call taken by call centre staff. If the call is classifiable into a type from column B, they put the corresponding prefix before their description of the call (i.e. from column A). If the call type is not any type in column B, they ignore the prefix when typing a description.
Each cell in Column E needs to look at the adjacent cell in Column D and determine if any prefixes from Column A are used.
If yes, return the text description (i.e. What the prefix stands for).
If no, return "Other".
The formula needs to find a perfect match in the initial text from Column D. If any text is accidently used before the prefix, or the prefix is misspelled, return "Other".
Hope I've explained it well enough. The tricky part for me is picking up different sized prefixes (which may have spaces). Screenshot below:
Hope you might be able to help with this one. The formula I need to come up with is for Column E.
Column A and B give a list of all prefixes and their corresponding work type. This could be considered a 'legend' for the formula to lookup from.
Column D is freehand manually typed text, where each line represents a call taken by call centre staff. If the call is classifiable into a type from column B, they put the corresponding prefix before their description of the call (i.e. from column A). If the call type is not any type in column B, they ignore the prefix when typing a description.
Each cell in Column E needs to look at the adjacent cell in Column D and determine if any prefixes from Column A are used.
If yes, return the text description (i.e. What the prefix stands for).
If no, return "Other".
The formula needs to find a perfect match in the initial text from Column D. If any text is accidently used before the prefix, or the prefix is misspelled, return "Other".
Hope I've explained it well enough. The tricky part for me is picking up different sized prefixes (which may have spaces). Screenshot below: