+ Reply to Thread
Results 1 to 7 of 7

re: Rand function

  1. #1
    Harlan Grove
    Guest

    Re: Rand function

    Susan Hayes wrote...
    >I'm trying to get a number between and including 1 and 20

    ....

    =INT(1+20*RAND())


  2. #2
    Matt
    Guest

    Re: Rand function

    Try: =RANDBETWEEN(1,20)


  3. #3
    Duke Carey
    Guest

    Re: Rand function

    Good solution, but requires the OP to have the Analysis Toolpak add-in
    installed

    "Matt" <matthew.clegg@asx.com.au> wrote in message
    news:1124322320.042322.113290@o13g2000cwo.googlegroups.com...
    > Try: =RANDBETWEEN(1,20)
    >




  4. #4
    Susan Hayes
    Guest

    re: Rand function

    Hello

    I'm trying to get a number between and including 1 and 20
    i have tried
    =RAND()*(20-1)

    thank you

    Susan

  5. #5
    Harlan Grove
    Guest

    Re: Rand function

    Susan Hayes wrote...
    >I'm trying to get a number between and including 1 and 20

    ....

    =INT(1+20*RAND())


  6. #6
    Matt
    Guest

    Re: Rand function

    Try: =RANDBETWEEN(1,20)


  7. #7
    Duke Carey
    Guest

    Re: Rand function

    Good solution, but requires the OP to have the Analysis Toolpak add-in
    installed

    "Matt" <matthew.clegg@asx.com.au> wrote in message
    news:1124322320.042322.113290@o13g2000cwo.googlegroups.com...
    > Try: =RANDBETWEEN(1,20)
    >




+ 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