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