• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

length formula

webmax

Member
Hi

I want a formula that if the length of the character is less than 12 digits then it will show as space for the each character up to 12 digit.

For example if the word is "Life" then then Total Length of the word is 4 then the remaining 8 character is show as 8 spaces.
 
what if the length is more than 12 digits ?

where exactly you need to show blanks in case the length is less than 12 digits ?
 
Hi Ravi,

Try this with your data in A1, replace "*" with space " " if you like:

Code:
=IF(LEN(A1)<8,A1&REPT("*",8-LEN(A1)),A1)
 
Back
Top