Office 365函数新世界 :SEQUENCE和RANDARRAY函数
=SEQUENCE(10)
=SEQUENCE(10,2)
=SEQUENCE(10,2,2,2)
=INDEX(A2:A100,SEQUENCE(5,4))&''
=RANDARRAY(10)
=RANDARRAY(10,2,1,100,TRUE)
=INDEX(SORTBY(A2:A14,RANDARRAY(13)),SEQUENCE(3)) RANDARRAY(13)生成13个随机值,SORTBY据此将A2:A14区域的数据随机排序,最后再使用INDEX函数取前3个即为结果。
INDEX(SORTBY(A2:A14,RANDARRAY(13)),SEQUENCE(10,3)),'')
赞 (0)