I want to extract the data before the last occurrence of a character, for example, cell contains 'T10_Shorter_2016'. I want to extract 'T10_Shorter'
I tfound the following =LEFT(A1,FIND("_",SUBSTITUTE(A1,"#","_",LEN(A1)-LEN(SUBSTITUTE(A1,"_",""))))-1) and tried to use it, but excel told me it wasn't a formula
I assume there's a problem with the syntax, but I can't see what
Any help would be appreciated
I tfound the following =LEFT(A1,FIND("_",SUBSTITUTE(A1,"#","_",LEN(A1)-LEN(SUBSTITUTE(A1,"_",""))))-1) and tried to use it, but excel told me it wasn't a formula
I assume there's a problem with the syntax, but I can't see what
Any help would be appreciated