+ Reply to Thread
Results 1 to 2 of 2

Random Number generator

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    98

    Random Number generator

    Hi, I have 200 stocks. I need to be able to rank them in a randomn order. I start off with stock 1 and use =randbetween(1,200). This will give a randomn number. I then need to be able to generate another randomn number for Stock 2, excluding the Number already generated for Stock 1. For Stock 3 I need to be able to generate another number however excluding Stock 1 and Stock 2 and so on.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Random Number generator

    Use RAND() instead of RANDBETWEEN(..), then sort by that row.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1