在相邻单元格输入公式“=rept(0,10-len(左边单元格的地址))&左边单元格的地址”
然后将公式下拉
从其他地方复制到excel中数字前面加上0
原文:http://www.cnblogs.com/jun-jie/p/3568075.html