Answers for "excel left pad"

0

excel left pad

= REPT( "[character]" , [target-length] - LEN( [cell-ref] ) ) & [cell-ref]
Example: =REPT("*",12-LEN(B5))&B5
Posted by: Guest on September-25-2021
0

excel right pad

= [cell-ref] & REPT( "[character]" , [target-length] - LEN( [cell-ref] ) )
Example: =B5&REPT("*",12-LEN(B5))
Posted by: Guest on September-25-2021

Browse Popular Code Answers by Language