自动生成符合指定条件的数字字符串
=CONCAT(RANDBETWEEN(ROW(INDIRECT("1:"&I$3))^0*I$1,I$2)) 经测试,您写的公式计算结果正确,非常完美地实现了我的想法。谢谢大佬! =IF(C$4=0,BASE(RANDBETWEEN(1,DECIMAL(REPT(C$5,C$6),C$5+1)),C$5+1,C$6),""&MMULT(TRANSPOSE(10^(ROW(INDIRECT("1:"&C$6))-1)),C$4+RANDBETWEEN(ROW(INDIRECT(1&":"&C$6))^0-1,C$5-C$4)))
自己 搞的复 杂 了。。。。
=""&MMULT(TRANSPOSE(10^(ROW(INDIRECT("1:"&C$6))-1)),RANDBETWEEN(ROW(INDIRECT(1&":"&C$6))^0*C$4,C$5))
页:
[1]