ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Random cell generator (https://www.excelbanter.com/excel-worksheet-functions/68062-random-cell-generator.html)

JK2

Random cell generator
 
I would like to set up a program that randomly selects a cell in a range of
eight cells.
Can anyone help?
--
Cheers
JK2

Dana DeLouis

Random cell generator
 
...randomly selects a cell in a range of
eight cells.


Here's one idea. It randomly picks a cell from A1:A8. Adjust as necessary.

=OFFSET(A1,INT(RAND()*8),0)

--
HTH. :)

Dana DeLouis
Windows XP, Office 2003


"JK2" wrote in message
...
I would like to set up a program that randomly selects a cell in a range of
eight cells.
Can anyone help?
--
Cheers
JK2





All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com