Results 1 to 10 of 10

Generating random outcomes based on probability

Threaded View

  1. #1
    Registered User
    Join Date
    02-10-2009
    Location
    London, UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Generating random outcomes based on probability

    Can anyone help, I'm trying to create some test data, eg 1000 rows in excel. In each cell a formula (?) returns some text such as Dog, Cat or Rabbit based on the probability Dog=0.5, Cat=0.3, Rabbit=0.2



    I've come up with a messy solution of generating a random number between 1-100 and then using a lookup table where 1-50 = dog etc... it works but is long winded and difficult for other people to follow.
    Last edited by JP2008; 02-10-2009 at 03:15 PM.

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