Which function do i use so that a specific cell produces a "20" if the random number produced in a different field matches a certain set of predefined numbers and a "0" if not.
also unless you are planning on never changing the numbers you'd be better off putting them in separate cells and referencing the cells in the formula rather than having the numbers in the formula.