Results 1 to 7 of 7

How do I generate 6 random characters (4 numerical, 2 alpha)?

Threaded View

  1. #3
    Registered User
    Join Date
    07-23-2010
    Location
    Denver, CO
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: How do I generate 6 random characters (4 numerical, 2 alpha)?

    Quote Originally Posted by Paul View Post
    =TEXT(RANDBETWEEN(0,9999),"0000")&CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(65,90))
    Perfect! One more question. How would I modify the formula so it generates lower case characters instead of upper case?
    Last edited by Paul; 07-23-2010 at 04:19 PM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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