Forum Discussion

BowersJacob's avatar
BowersJacob
Copper Contributor
Feb 05, 2020
Solved

Sortby

=SORTBY(D2:D76,RANDARRAY(LARGE(B2:B76,1))) This returns a random array based off the array in D2:D76.  The original array has a possibility to contain blank cells. I do not want those blank cells t...
  • Savia's avatar
    Feb 06, 2020
    Pass the array through a FILTER function:

    =SORTBY(FILTER(D2:D76,D2:D76<>""),FILTER(RANDARRAY(LARGE(B2:B76,1)),D2:D76<>""))