+ Reply to Thread
Results 1 to 15 of 15

Create Random Number Generator

Hybrid View

  1. #1
    N Harkawat
    Guest

    re: Create Random Number Generator

    Type 0 thru 9 and A thru Z in cells A1 thru A43

    Next on any cell type
    =INDEX($A$1:$A$43,RANDBETWEEN(1,43))&INDEX($A$1:$A$43,RANDBETWEEN(1,43))&INDEX($A$1:$A$43,RANDBETWEEN(1,43))&INDEX($A$1:$A$43,RANDBETWEEN(1,43))&INDEX($A$1:$A$43,RANDBETWEEN(1,43))&INDEX($A$1:$A$43,RANDBETWEEN(1,43))&INDEX($A$1:$A$43,RANDBETWEEN(1,43))&INDEX($A$1:$A$43,RANDBETWEEN(1,43))

    This is your 8 digit random password

    For Randbetween you will need Analysis tool pak addin

    "Pascale" <Pascale.1rtqn2_1120781156.1385@excelforum-nospam.com> wrote in
    message news:Pascale.1rtqn2_1120781156.1385@excelforum-nospam.com...
    >
    > Is it possible to randomly generate an 8 alphanumeric string rather than
    > just numeric string. Numbers and alpha order should also be random,
    > purpose: trying to simulate password entries for test data
    >
    >
    > --
    > Pascale
    > ------------------------------------------------------------------------
    > Pascale's Profile:
    > http://www.excelforum.com/member.php...o&userid=12546
    > View this thread: http://www.excelforum.com/showthread...hreadid=385434
    >




  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Here is another way.

    Put this in A1 (or give it a Name):
    0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

    Then copy this to A2:
    =MID($A$1,1+INT(RAND()*LEN($A$1)),1)&MID($A$1,1+INT(RAND()*LEN($A$1)),1)&MID($A$1,1+INT(RAND()*LEN($A$1)),1)&MID($A$1,1+INT(RAND()*LEN($A$1)),1)&MID($A$1,1+INT(RAND()*LEN($A$1)),1)&MID($A$1,1+INT(RAND()*LEN($A$1)),1)&MID($A$1,1+INT(RAND()*LEN($A$1)),1)&MID($A$1,1+INT(RAND()*LEN($A$1)),1)

    Ola Sandström

+ 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