+ Reply to Thread
Results 1 to 5 of 5

Formula to output +/-1 at specified probability

  1. #1
    Registered User
    Join Date
    08-20-2016
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    18

    Formula to output +/-1 at specified probability

    Hi,

    I want a column A to output +1 at the probability of 83% and -1 at the probability of 17%
    I want a column B to output +1 at the probability of 62% and -1 at the probability of 38%

    How can I do this with formulas?

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formula to output +/-1 at specified probability

    What output do you want between those percentages? Could you list some examples of probabilities and desired output?
    Dave

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Formula to output +/-1 at specified probability

    I would probably do something like =IF(RAND()>0.17,1,-1) [similar for output B].
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    08-20-2016
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    18

    Re: Formula to output +/-1 at specified probability

    Thanks MrShorty, you nailed it. Thanks FlameRetired for your interest. Much appreciated!

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formula to output +/-1 at specified probability

    Thanks for the feedback.

+ 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. [SOLVED] Array to embed formula and if number of output is met output Blank
    By ywang in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-29-2015, 02:34 AM
  2. Formula/formatting to calculate probability
    By kjrmitch in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-20-2015, 10:19 PM
  3. average of data by date to probability formula steps help
    By jamie2v in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-20-2014, 05:17 PM
  4. Replies: 4
    Last Post: 11-26-2011, 02:33 PM
  5. Probability/Formula Help
    By jamesryan in forum Excel General
    Replies: 1
    Last Post: 08-10-2007, 06:36 PM
  6. Probability Question:probability outcomes
    By Myles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2006, 06:45 AM
  7. Replies: 1
    Last Post: 09-08-2005, 10:05 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