substring index excel code example Example: excel get after character =LEFT(text,FIND(character,text)-1)