Lottery function - how to randomly select cells

L

Luke M

With the Analysis ToolPak add-in activated (tools-addins):

Cell address in range A1:Z1000
=ADDRESS(RANDBETWEEN(1,1000),RANDBETWEEN(1,26),4)
Press F9 to generate a new random address.

If you want the contents of that cell:
=INDIRECT(ADDRESS(RANDBETWEEN(1,1000),RANDBETWEEN(1,26),4))
 

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