ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Prevent automatic random generation (https://www.excelbanter.com/excel-worksheet-functions/87760-prevent-automatic-random-generation.html)

teteperreira

Prevent automatic random generation
 

Hi.

I am using the formula:
=INDEX(A356:A377,ROUND(RAND()*COUNTA(A356:A377),0) )

To generate a random name from a list. It works fine, but everytime I
do something else on the spreadsheet it generates another random name
form the list. I want it to generate the name once, that is all and
not keep doing it.

Can someone help? Tete:confused:


--
teteperreira
------------------------------------------------------------------------
teteperreira's Profile: http://www.excelforum.com/member.php...o&userid=34280
View this thread: http://www.excelforum.com/showthread...hreadid=540442



All times are GMT +1. The time now is 07:22 PM.

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