B1=A1+INT(RAND()*10)+1
向下复制,按F9刷新随机数据
如果你是想求A1+随机数值的和:=A1+RANDBETWEEN(1,10)如果你想要的效果是(假设A1是文字,你要的效果是“文字9”):=A1&RANDBETWEEN(1,10)
=A1+RANDBETWEEN(1,10)
=a1+rand()*10