How do I get the last character of a string using an Excel function?
How do I get the last character of a string using an Excel function? No need to apologize for asking a question! Try using the RIGHT function. It returns the last n characters of a string. =RIGHT(A1, 1) =RIGHT(A1) is quite sufficient (where the string is contained in A1). Similar in nature to LEFT, Excel's RIGHT function extracts a substring from a string starting from the right-most character: SYNTAX RIGHT( text, [number_of_characters] ) Parameters or Arguments text The string that you wish to extract from. number_of_characters Optional. It indicates the number of characters that you wish to