B1 =FIND("@",A1) C1 =IF(ISERR(FIND(";",A1,B1)),LEN(A1)+1,FIND(";",A1,B1)) D1 =MAX(IF(ISERR(FIND(";",LEFT(A1,C1-1),ROW(INDIRECT("A1:A"&B1)))),0,FIND(";",LEFT(A1,C1-1),ROW(INDIRECT("A1:A"&B1))))) E1 =MID(A1,D1+1,C1-D1-1)
You can combine them into one super formula if you want.
B1 = the location of the at sign C1 = the first semicolon after the @ D1 = the semicolon before the at sign (array entered)
source share