random from list excel code example Example: randomly assign value from one column to cell =INDEX(data,RANDBETWEEN(1,ROWS(data)),1)