// Home / Documentation / Function Reference / NTTRIANGULARDIST

NTTRIANGULARDIST

Returns the triangular distribution for the specified parameters.

Syntax

NTTRIANGULARDIST(

  • x,
  • Min,
  • Max,
  • Mode,
  • Cumulative

)

 

Parameters

  • x is the value for which you want the distribution.
  • Min is a lower limit of a support of the distribution a.
  • Max is a upper limit of a support of the distribution b.
  • Mode is a mode of the distribution c.
  • Cumulative is a logical value that determines the form of the function. If cumulative is TRUE, NORMDIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.

Remarks

  • Restrictions of arguments:

    a<c<b
    a\leq x\leq b

Example

  • The example may be easier to understand if you copy it to a blank worksheet

    click to open
    click to close
    How to copy an example

    1. Create a blank workbook or worksheet.
    2. Select the example in the Help topic.

      Note  Do not select the row or column headers.

      Selecting an example from Help

      Selecting an example from Help

    3. Press CTRL+C.
    4. In the worksheet, select cell A1, and press CTRL+V.
    5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.
     
    1
    2
    3
    4
    5
    6
    7
       
    8
       
    A B
    Data Description
    1.5 Value for which you want the distribution
    1 Value of parameter Min
    3 Value of parameter Max
    1.4 Value of parameter Mode
    Formula Description (Result)
    =NTTRIANGULARDIST(A2,A3,A4,A5,TRUE) Cumulative distribution function for the terms above
    =NTTRIANGULARDIST(A2,A3,A4,A5,FALSE) Probability density function for the terms above
  • Download sample excel sheet

See also

 
Share

Comments are closed.