Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在excel中,我在一列中有各种值,
1 100 12 120 123 123 03 030 133 133
我想在最后添加零,直到达到 3 位数。
干杯
尝试这个:
=A1&REPT("0",3-LEN(A1))
Rept() 将一个字符重复一定次数。3-LEN(A1) 计算出要重复多少次。