ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formula (https://www.excelbanter.com/excel-programming/344583-formula.html)

Rod[_8_]

Formula
 
How do I stop getting duplicate numbers when using the formula -
=randbetween(1,24)


Dave Peterson

Formula
 
=randbetween() doesn't have a memory.

If you're populating a range with random numbers, you may want to use J.E.
McGimpsey's RandInt Userdefined function:

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

Rod wrote:

How do I stop getting duplicate numbers when using the formula -
=randbetween(1,24)


--

Dave Peterson


All times are GMT +1. The time now is 01:00 PM.

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