Hi all, I am trying to extract out various details from a text string.
The fields I am trying to extract are as follows:
Field 1 = volume information eg. 10
Field 2 = volume measurement eg. Oz or ML
Field 3 = perfume type eg. EDT, Eau De Toilette. On this field specifically, several equivalent terms are used so I am trying to standardize them eg. if Eau De Toilette is shown then EDT should be the text string that is shown. Or if Eau De Parfum is shown then EDP should be shown. Or if Eau De Cologne is shown then EDC should be the text string that is shown.
I have managed to solve Field 2 by using this formula. =IF(ISNUMBER(SEARCH("OZ",C2))="true","ML","OZ").
Can someone help me out with Field1 and Field 3? I will give a few examples on the intended results. Thank you
Example 1: 1 oz Eau De Toilette Spray
Field 1 result: 1
Field 2 result: oz
Field 3 result: EDT
Example 2: 1.6 oz EDT Spray
Field 1 result: 1.6
Field 2 result: oz
Field 3 result: EDT
Example 3: 3.4 ml Eau De Cologne Concentre Spray
Field 1 result: 3.4
Field 2 result: ml
Field 3 result EDC
Example 4: 3.4 oz Eau De Parfum Spray (Unisex)
Field 1 result: 3.4
Field 2 result: oz
Field 3 result: EDP
Example 5: 2.8 oz EDP Spray (Limited Edition)
Field 1 result: 2.8
Field 2 result: oz
Field 3 result: EDP
The fields I am trying to extract are as follows:
Field 1 = volume information eg. 10
Field 2 = volume measurement eg. Oz or ML
Field 3 = perfume type eg. EDT, Eau De Toilette. On this field specifically, several equivalent terms are used so I am trying to standardize them eg. if Eau De Toilette is shown then EDT should be the text string that is shown. Or if Eau De Parfum is shown then EDP should be shown. Or if Eau De Cologne is shown then EDC should be the text string that is shown.
I have managed to solve Field 2 by using this formula. =IF(ISNUMBER(SEARCH("OZ",C2))="true","ML","OZ").
Can someone help me out with Field1 and Field 3? I will give a few examples on the intended results. Thank you
Example 1: 1 oz Eau De Toilette Spray
Field 1 result: 1
Field 2 result: oz
Field 3 result: EDT
Example 2: 1.6 oz EDT Spray
Field 1 result: 1.6
Field 2 result: oz
Field 3 result: EDT
Example 3: 3.4 ml Eau De Cologne Concentre Spray
Field 1 result: 3.4
Field 2 result: ml
Field 3 result EDC
Example 4: 3.4 oz Eau De Parfum Spray (Unisex)
Field 1 result: 3.4
Field 2 result: oz
Field 3 result: EDP
Example 5: 2.8 oz EDP Spray (Limited Edition)
Field 1 result: 2.8
Field 2 result: oz
Field 3 result: EDP