+ Reply to Thread
Results 1 to 6 of 6

How do I generate a list of 5-digit numbers in Excel?

Hybrid View

  1. #1
    Cowboy
    Guest

    How do I generate a list of 5-digit numbers in Excel?

    I need to create a list of 1000 numbers of 5 digits. The numbers can't be
    repeated.

  2. #2
    Tim Williams
    Guest

    Re: How do I generate a list of 5-digit numbers in Excel?

    The numbers themselves can't be repeated, or individual digits in each
    number must be unique?

    if the former then this would work...

    for x=10000 to 10999
    debug.print x
    next x

    --
    Tim Williams
    Palo Alto, CA


    "Cowboy" <Cowboy@discussions.microsoft.com> wrote in message
    news:40937F0A-BCDC-4BC9-8B12-F606CE600B58@microsoft.com...
    > I need to create a list of 1000 numbers of 5 digits. The numbers can't be
    > repeated.




  3. #3
    Tom Ogilvy
    Guest

    Re: How do I generate a list of 5-digit numbers in Excel?

    Are leading zeros OK. Example, is 00001 a five digit number?

    --
    Regards,
    Tom Ogilvy

    "Cowboy" <Cowboy@discussions.microsoft.com> wrote in message
    news:40937F0A-BCDC-4BC9-8B12-F606CE600B58@microsoft.com...
    > I need to create a list of 1000 numbers of 5 digits. The numbers can't be
    > repeated.




  4. #4
    Cowboy
    Guest

    Re: How do I generate a list of 5-digit numbers in Excel?

    Nope. Any number from 10000 to 99999. Can you help me, please?

    "Tom Ogilvy" wrote:

    > Are leading zeros OK. Example, is 00001 a five digit number?
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    > "Cowboy" <Cowboy@discussions.microsoft.com> wrote in message
    > news:40937F0A-BCDC-4BC9-8B12-F606CE600B58@microsoft.com...
    > > I need to create a list of 1000 numbers of 5 digits. The numbers can't be
    > > repeated.

    >
    >
    >


  5. #5
    Tom Ogilvy
    Guest

    Re: How do I generate a list of 5-digit numbers in Excel?

    > you help me, please?

    See JE's answer.

    --
    Regards,
    Tom Ogilvy

    "Cowboy" <Cowboy@discussions.microsoft.com> wrote in message
    news:EE68198D-B2AF-4FEE-BDB8-DCD3388B3701@microsoft.com...
    > Nope. Any number from 10000 to 99999. Can you help me, please?
    >
    > "Tom Ogilvy" wrote:
    >
    > > Are leading zeros OK. Example, is 00001 a five digit number?
    > >
    > > --
    > > Regards,
    > > Tom Ogilvy
    > >
    > > "Cowboy" <Cowboy@discussions.microsoft.com> wrote in message
    > > news:40937F0A-BCDC-4BC9-8B12-F606CE600B58@microsoft.com...
    > > > I need to create a list of 1000 numbers of 5 digits. The numbers can't

    be
    > > > repeated.

    > >
    > >
    > >




  6. #6
    JE McGimpsey
    Guest

    Re: How do I generate a list of 5-digit numbers in Excel?

    take a look at

    http://www.mcgimpsey.com/excel/udfs/randint.html


    In article <40937F0A-BCDC-4BC9-8B12-F606CE600B58@microsoft.com>,
    Cowboy <Cowboy@discussions.microsoft.com> wrote:

    > I need to create a list of 1000 numbers of 5 digits. The numbers can't be
    > repeated.


+ 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