+ Reply to Thread
Results 1 to 8 of 8

Random & Sequential Number Generators

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    MN
    MS-Off Ver
    Excel 2010
    Posts
    11

    Smile Random & Sequential Number Generators

    Is it possible to format in the Random number generator? I need to create a spread sheet that adds both formatted sequential numbers and formatted random numbers, and am having trouble getting started. Any and all help is appreciated!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Random & Sequential Number Generators

    Give us some examples of these formatted sequential numbers and formatted random numbers that you need to create?
    Any logic you have in mind? Some people say "random" and they don't actually mean "completely random".
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-21-2012
    Location
    MN
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Random & Sequential Number Generators

    I am trying to create a marketing piece. They will be business-sized cards that need to be unique to each of our locations.The sequential numbers will be formatted with a 2 letter location code and then just counting. On each card we will also need to generate a random access code, so it must be completely unique and be formatted in a specific way to be excepted by the POS. (5 digits always ending in zero).

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Random & Sequential Number Generators

    well there are only 10000 numbers So just list them all stick rand() down the next column then fill down copy past back special values then you can lookup small() 1 2 3 4 and so on to get a random 5 digit code as for location codes just use countif
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    06-21-2012
    Location
    MN
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Random & Sequential Number Generators

    Stumbled onto it myself.....=RANDBETWEEN(1000,9990)*ROUND(10,1)....seems to work

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Random & Sequential Number Generators

    It wont be guaranted unique

  7. #7
    Registered User
    Join Date
    06-21-2012
    Location
    MN
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Random & Sequential Number Generators

    Hopefully for our limited uses it will be unique enough! Thanks for all your help!

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Random & Sequential Number Generators

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calendar Generators
    By Pete_UK in forum Tips and Tutorials
    Replies: 5
    Last Post: 07-26-2019, 09:02 PM
  2. Replies: 10
    Last Post: 10-30-2013, 07:29 PM
  3. Replies: 4
    Last Post: 10-14-2013, 10:15 AM
  4. Replies: 5
    Last Post: 06-21-2013, 10:40 AM
  5. How do I find random number in list of random alpha? (Position is.
    By jlahealth-partners in forum Excel General
    Replies: 0
    Last Post: 02-08-2005, 02:06 PM

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