Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
Excel 2010Formula:=IF(LEN(B2)<A2,REPT(" ",A2-LEN(B2)),"")&B2Where A2 has the final length of the string. B2 has the string to be right aligned.
For Eg :A1 = 15B1 = ABCDEFGHOutput =
ABCDEFGH