=right(rept("0",10)&a1,10)
If the values are all numeric (not text), you could apply a custom format:
Select the range
format|cells|Number tab|Custom category
0000000000
or use a formula like this if the cell looks numeric:
=text(a1,rept("0",10))
or
=text(a1,"0000000000")
> I've got several thousand loan numbers which need to be updated to a
> ten-digit format by adding a leading 00.
[quoted text clipped - 5 lines]
> --
> alan

Signature
Dave Peterson
*alan* - 11 Mar 2008 03:04 GMT
Thank you so much ---- the numbers were all text, and your formula worked
perfectly. I see also that it will work perfectly for some 7-digit numbers
that have be updated with 000, and in fact (by changing the number after the
comma)will work for addition of as many zeroes as will be necessary to
expand to any digit matrix. I'd been totally unaware of the "rept" factor.
Thanks again
--
alan
> =right(rept("0",10)&a1,10)
>
[quoted text clipped - 19 lines]
>> --
>> alan
A good book on Excel, such as JohnWalkenbach's Bible series would help you.
It's only $40 and easy reading
Tyro
> I've got several thousand loan numbers which need to be updated to a
> ten-digit format by adding a leading 00.
[quoted text clipped - 5 lines]
> --
> alan
*alan* - 12 Mar 2008 00:50 GMT
Thanks for the suggestion --- I'll check it out.
--
alan
>A good book on Excel, such as JohnWalkenbach's Bible series would help you.
>It's only $40 and easy reading
[quoted text clipped - 10 lines]
>> --
>> alan