Random letter and number generator

M

Marie1uk

Hi,

I am looking to find a function that can assign a set of random values
to a column. For example if I have a list of names I want the
spreadsheet to be able to churn out a random value for the following
list,

3a 3b 3c 4a 4b 4c 5a 5b 5c

Name Random Value
M. Hardy 4a
G. Dodd 5b
B, Smith 3b

The list needs to be able to be customized right up to 7a to allow for
future expansion.

Many thanks in advance,

Marie
 
P

Peo Sjoblom

Look in help for the function RAND(), in help for RAND there is also an
example of getting integers between certain values, you can use that then
use that integer together with INDEX, put the values you want to assign in a
range and lookup them, if non repeating values see:

http://www.mcgimpsey.com/excel/udfs/randint.html

--
Regards,

Peo Sjoblom

Portland, Oregon
 
M

Marie1uk

Thanks Tom,

What values determine the minimum & maximum numbers (range), eg if I
wanted it to only go from 3a to say 5a instead of 7 for some cells?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top