belinea2010
New Member
I have a several thousand complicated strings in column A on a work sheet named "Data_Import" so cell 1 would be Data_Import!A1 and so on.
On another work sheet named "Pack" I need a formula in Column G cell G1 (going downwards) that can extract and return whatever text exists between the ")" character and the word "kHz" in the string and remove the underscores "_" and replace them with spaces " ".
The strings all have the same layout which is:
4_JnI_Bhhuhgdl_-_jjkdj'h1_62_[Hmmd_175H297j]_(5_T27keA)_127_kHz_Je_87A_zzE
24_JnI_stgvuhgdl_-_jjkdj'h1_62_[12_175_7j]_(A_T27keA)_48_kHz_14_2f3_TQe
The numbers before kHz will always be either 2 characters or 3 characters in length followed by a space.
The data in each string will be different and of varying lengths but there are some constants which will not change.
Using my dummy examples above the constants are "_-_" , "[" , "]" , "(" , ")" and "kHz".
Again using my dummy examples the data I need to extract is
"127_kHz" and then the formula would remove and replace the "_" and return them as "127 kHz"
"48_kHz" and then the formula would remove and replace the "_" and return them as "48 kHz"
This is beyond my limited knowledge so I need some help?
On another work sheet named "Pack" I need a formula in Column G cell G1 (going downwards) that can extract and return whatever text exists between the ")" character and the word "kHz" in the string and remove the underscores "_" and replace them with spaces " ".
The strings all have the same layout which is:
4_JnI_Bhhuhgdl_-_jjkdj'h1_62_[Hmmd_175H297j]_(5_T27keA)_127_kHz_Je_87A_zzE
24_JnI_stgvuhgdl_-_jjkdj'h1_62_[12_175_7j]_(A_T27keA)_48_kHz_14_2f3_TQe
The numbers before kHz will always be either 2 characters or 3 characters in length followed by a space.
The data in each string will be different and of varying lengths but there are some constants which will not change.
Using my dummy examples above the constants are "_-_" , "[" , "]" , "(" , ")" and "kHz".
Again using my dummy examples the data I need to extract is
"127_kHz" and then the formula would remove and replace the "_" and return them as "127 kHz"
"48_kHz" and then the formula would remove and replace the "_" and return them as "48 kHz"
This is beyond my limited knowledge so I need some help?