excel - Padding a word with spaces to fill a cell -


is possible pad cell spaces ensure correct length?

here's example * representing spaces.

input    output -----    ------ red      red** blue     blue* 

the words padded spaces ensure cell content 5 characters long.

try this:

=left(a1&"*****",5)

we adding lots of stars(*) cutting left 5 characters.

enter image description here


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -