本帖最后由 我的城市你来过 于 2024-2-23 19:40 编辑
顺三数=WRAPROWS(MID(CONCAT(TOCOL(UNIQUE(RANDARRAY(8888,4,0,2,1)))),ROW($A$1:$A$81)*4-3,4),9)
不间隔=LET(x,SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(CONCAT(TOCOL(UNIQUE(RANDARRAY(188888,4,0,7,1)))),ROW($A$1:$A$9999)*4-3,4),1,""),2,""),3,""),4,""),6,""),8,""),9,""),WRAPROWS(TEXTSPLIT(TEXTJOIN(" ",,IF(LEN(x)=4,x,""),""),," "),9))
=LET(x,MID(CONCAT(TOCOL(UNIQUE(RANDARRAY(188888,4,0,7,1)))),ROW($A$1:$A$9999)*4-3,4),WRAPROWS(TEXTSPLIT(TEXTJOIN(" ",,IF(LENB(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(x,0,"-0"),5,"-5"),7,"-7"))=8,x,""),""),," "),9))
|