TDIST (PQL  xl)
This function returns the probability for the tdistribution
 Library: PQL \ Spreadsheet \ Compatibility
 Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
Syntax
TDIST(x, deg freedom, tails)
Function Arguments
Name  Description  Type  Optional 
x  Probability of the twotailed student’s tdistribution  Number 

deg freedom  Number of degrees of freedom to characterize the distribution; if not an integer, the number is truncated  Number 

tails  Number of tails to return; if not an integer, the number is truncated; for 1, returns one‑tailed distribution; for 2, returns two‑tailed distribution  Number 

Comments
This function is the same as the Microsoft Excel 'TDIST' function  using the same inputs, logic and outputs.