+ Reply to Thread
Results 1 to 15 of 15

Create Random Number Generator

  1. #1
    Registered User
    Join Date
    08-02-2004
    Posts
    12

    Create Random Number Generator

    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

  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Use this formula http://www.tushar-mehta.com/excel/ti..._alphanum.html
    ...8 times (8 rows) and then concatenate all the rows to one Alphanumeric string.
    =A1&A2&A3&A4&A5&A6&A7&A8

    HTH
    Ola Sandström

  3. #3
    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
    >




  4. #4
    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

  5. #5
    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
    >




  6. #6
    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
    >




  7. #7
    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
    >




  8. #8
    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
    >




  9. #9
    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
    >




  10. #10
    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
    >




  11. #11
    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
    >




  12. #12
    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
    >




  13. #13
    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
    >




  14. #14
    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
    >




  15. #15
    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
    >




+ 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