View Single Post
  #1   Report Post  
JulieD
 
Posts: n/a
Default

Hi Jan

with your data in cell A2

=IF(LEN(A2)12,LEFT(A2,12),A2 & REPT(" ",12-LEN(A2)))

Cheers
JulieD

"Jan Buckley" wrote in message
...
I need to convert cells containing text to exactly 12 characters either by
truncating or filling with spaces. Does anyone know a formula that will do
that? Thanks.

Jan Buckley