Have you considered using the RANDBETWEEN function? For example, =randbetween(0,100)?