+ Reply to Thread
Results 1 to 4 of 4

combine set of letters randomly

  1. #1
    rp
    Guest

    combine set of letters randomly

    hi,

    is it possible to combine 8 letters (for example) randomly, i mean to
    generate different combinations from these 8 letters? please help

    yob



  2. #2
    Michael Bednarek
    Guest

    Re: combine set of letters randomly

    On Fri, 16 Sep 2005 15:57:40 +0800, "rp" <[email protected]> wrote in
    microsoft.public.excel:

    >is it possible to combine 8 letters (for example) randomly, i mean to
    >generate different combinations from these 8 letters? please help


    This has been covered not so long ago in
    <http://groups.google.com.au/group/microsoft.public.office.misc/browse_frm/thread/8d6139cc43ce052d/250c38d50a17e0dd>.

    Note that 8 letters will yield 40320 permutations.

    --
    Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

  3. #3

    Re: combine set of letters randomly

    This solution assumes repeat letters are not a problem.

    the CHAR function will return a character from a number within a range
    65-90 is A - Z
    97-122 ia a-z

    therefore if you use the ATP function
    =CHAR(RANDBETWEEN(65,90))
    you will get a single letter

    =CONCATENATE(CHAR(RANDBETWEEN(65,90)),CHAR(RANDBETWEEN(65,90)),CHAR(RANDBETWEEN(65,90)),CHAR(RANDBETWEEN(65,90)),CHAR(RANDBETWEEN(65,90)),CHAR(RANDBETWEEN(65,90)),CHAR(RANDBETWEEN(65,90)),CHAR(RANDBETWEEN(65,90)))

    Ugly but it does what it says.

    hth RES

  4. #4
    Mike
    Guest

    RE: combine set of letters randomly

    http://www.j-walk.com/ss/excel/tips/tip46.htm

    "rp" wrote:

    > hi,
    >
    > is it possible to combine 8 letters (for example) randomly, i mean to
    > generate different combinations from these 8 letters? please help
    >
    > yob
    >
    >
    >


+ 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