假如你要在A1随机生成0-9,+-*/<>这16个字符中的任意一个,则A1公式如下:
=LOOKUP(RAND()*16,{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15},{0,1,2,3,4,5,6,7,8,9,"+","-","*","/","<",">"})
点击A1下拉即可
=INT(RAND()*10) & “需要的计算符号”
=ROUND(RAND()*9,0)&"+-*/<>"
见下图
图中A1到U1中的公式皆为=CHOOSE(INT(RAND()*16+1),0,1,2,3,4,5,6,7,8,9,"+","-","*","/","<",">")
A3的公式为=A1&B1&C1&D1&E1&F1&G1&H1&I1&J1&K1&L1&M1&N1&O1&P1&Q1&R1&S1&T1&U1
按F9即可随机变动A3的内容,松开F9能得结果