Hi all,
I have a column of strings of variable lengths that contain numbers and words, with spaces in between the words and numbers. Some strings contain several spaces in a row, sandwiching the part I wish to extract. I would like to extract all strings so that all characters before and including the first space are removed, and the last space and all characters after it are removed e.g.,
"4hg2 eljdg lsigh lrbdsd 3403" should be extracted as "eljdg lsigh lrbdsd"
"024nk ketnc osen enlakb jkasdl 34nh3" should be extracted as "ketnc osen enlakb jkasdl"
I've managed to remove the first part with the formula =TRIM(MID(A2,FIND(" ",A2)+1,300)) and tried to amend this formula to also remove the last part, without success. Can anyone suggest a formula that would work, please?
I have a column of strings of variable lengths that contain numbers and words, with spaces in between the words and numbers. Some strings contain several spaces in a row, sandwiching the part I wish to extract. I would like to extract all strings so that all characters before and including the first space are removed, and the last space and all characters after it are removed e.g.,
"4hg2 eljdg lsigh lrbdsd 3403" should be extracted as "eljdg lsigh lrbdsd"
"024nk ketnc osen enlakb jkasdl 34nh3" should be extracted as "ketnc osen enlakb jkasdl"
I've managed to remove the first part with the formula =TRIM(MID(A2,FIND(" ",A2)+1,300)) and tried to amend this formula to also remove the last part, without success. Can anyone suggest a formula that would work, please?