how to delete 4 letters from right in excel code example Example: excel trim last character from string =LEFT(A1, LEN(A1)-1)