The following formula gives you a random number within the range of MN to MX (MN<MX). MN+RND(MX-MN+1)