+ Reply to Thread
Results 1 to 6 of 6

How to simulate variance in excel

  1. #1
    Registered User
    Join Date
    01-21-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    17

    How to simulate variance in excel

    Hello,

    I was wondering how to create like a random number generator or something. So like +.09 is 57% and -1 is 43% and for it to randomly generate like 100 numbers, so that I could graph it later.

    Any help is appreciated!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to simulate variance in excel

    not exactly sure what you mean, but try random() and randbetween()
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-21-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: How to simulate variance in excel

    Like for a cell to have a 57% chance to generate the number 0.90 and a 43% chance to generate the number -1.0

  4. #4
    Registered User
    Join Date
    01-21-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: How to simulate variance in excel

    *bump*

    Anyone have any ideas?

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: How to simulate variance in excel

    =if(rand()<0.57, 0.09, -1)
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    01-21-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: How to simulate variance in excel

    Quote Originally Posted by shg View Post
    =if(rand()<0.57, 0.09, -1)
    Thanks so much!

+ 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