home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _82A14F6EC135420BBAF28425335E861B < prev    next >
Text File  |  2003-03-07  |  54KB  |  1,994 lines

  1. @KANSUUJI
  2.  
  3. Syntax
  4.  
  5. @KANSUUJI(Kanji Number)
  6.  
  7.  
  8.  
  9. Kanji Number    The kanji number
  10.  
  11.  
  12.  
  13. @KANSUUJI converts a kanji number to its Arabic representation.
  14.  
  15. @KURT - Kurtosis
  16.  
  17. Syntax
  18.  
  19. @KURT(List)
  20.  
  21.  
  22.  
  23. List    One or more numeric or cell values.
  24.  
  25.  
  26.  
  27. @KURT returns the kurtosis of List. The kurtosis of a data set measures a distribution's closeness to normality, indicating relative peakedness or flatness. A kurtosis greater than zero is referred to as leptokurtic. A kurtosis less than zero is referred to as platykurtic.
  28.  
  29. List must have four or more values. The standard deviation of List must not be 0.
  30.  
  31. @KURT uses this formula:
  32.  
  33.  
  34.  
  35. where s is the sample standard deviation.
  36.  
  37. Examples
  38.  
  39. @KURT(5,7,9,12,14,15,4,9,5,6) = -1.11117
  40.  
  41. @KURT(9.7,10,9.5,9.3,10.2,10,9.5,11) = 1.780277
  42.  
  43. @KURT(20,25,27,22,35,28) = 0.876754
  44.  
  45. @LARGEST - Nth Largest Number
  46.  
  47. Syntax
  48.  
  49. @LARGEST(Array, N)
  50.  
  51.  
  52.  
  53. Array    A numeric array or cells of values.
  54.  
  55. N    Number that indicates the rank in size from the data set Array; must be greater than 0 and less than or equal to the number of values in Array.
  56.  
  57.  
  58.  
  59. @LARGEST returns the Nth largest number in Array. Use @LARGEST to determine a value's rank in a data set from the top of that set.
  60.  
  61. If there are duplicates in Array, @LARGEST treats them as separate numbers.
  62.  
  63. Examples
  64.  
  65. @LARGEST({1,2,3,4,5,6,7,8,9,10},2) = 9
  66.  
  67. @LARGEST({1,2,3,4,5,6,7,8,9,10},4) = 7
  68.  
  69. @LARGEST({1,2,3,4,5,6,7,8,9,10},6) = 5
  70.  
  71. @LASTBLANKPAGE
  72.  
  73. Syntax
  74.  
  75. @LASTBLANKPAGE(Block) 
  76.  
  77.  
  78.  
  79. Block    A cell or reference; can be a link to another opened notebook (for example, [BUDGET]A:A1).
  80.  
  81.  
  82.  
  83. @LASTBLANKPAGE returns a string that contains the letters for the last unnamed blank sheet in a notebook that is not part of a group.
  84.  
  85. Quattro Pro searches for the last unnamed blank sheet (that is not in a group) starting at sheet IV and continuing toward sheet A. If there are no unnamed blank sheets (or if they are all in groups), @LASTBLANKPAGE returns ERR.
  86.  
  87. Example
  88.  
  89. @LASTBLANKPAGE(B17) = IG (if it is the last sheet that is blank and unnamed)
  90.  
  91. @LASTCELLVALUE
  92.  
  93. Syntax
  94.  
  95. @LASTCELLVALUE(block, <type>)
  96.  
  97.  
  98.  
  99. Block    A cell or reference.
  100.  
  101. Type    Number 1 (column) or 2 (row); the default type is 1.
  102.  
  103.  
  104.  
  105. @LASTCELLVALUE returns the contents of the last non-blank cell in the cells.
  106.  
  107. Quattro Pro searches for the last non-blank cell in the row or column. If there is no content to return, @LASTCELLVALUE returns 0.
  108.  
  109. Example
  110.  
  111. @LASTCELLVALUE(A1..I34,2) (the last cell in the row that is not blank)
  112.  
  113. @LASTINGROUP - Last Sheet in Group
  114.  
  115. Syntax
  116.  
  117. @LASTINGROUP(Block, GroupName)
  118.  
  119.  
  120.  
  121. Block    A cell or cells of the notebook to check.
  122.  
  123.          GroupName    A string value representing a group name.
  124.  
  125.  
  126.  
  127. @LASTINGROUP returns a string that contains the letters for the last sheet in the group named GroupName. @LASTINGROUP searches the notebook referenced by Block for the group. If the group does not exist, @LASTINGROUP returns ERR.
  128.  
  129. Example
  130.  
  131. @LASTINGROUP([REPORTQ4]A:C12,"Totals") = "C" (if the notebook named REPORTQ4 contains a group named Totals that ends with sheet C)
  132.  
  133. @LBDAY - Last Business Day in Month
  134.  
  135. Syntax
  136.  
  137. @LBDAY(Date, <Holidays>, <Saturday>, <Sunday>)
  138.  
  139.  
  140.  
  141. Date    Number representing a date. See "Using dates and times in Quattro Pro."
  142.  
  143. Holidays    Cells containing dates that are holidays or the date of a single holiday or 0 to indicate no holidays (the default is 0).
  144.  
  145. Saturday    0 to specify that Saturday is not a business day; 1 to specify that Saturday is a business day (the default is 0).
  146.  
  147. Sunday    0 to specify that Sunday is not a business day; 1 to specify that Sunday is a business day (the default is 0).
  148.  
  149.  
  150.  
  151. @LBDAY returns the serial date number for the date of the last business day of the month in which Date falls.
  152.  
  153. Example
  154.  
  155. This formula calculates the last business day in November 1993, assuming that Sundays and the dates contained in cells A7..C9 are holidays.
  156.  
  157. @LBDAY(@DATE(93,11,1),A7..C9,1) = 34303 (November 30, 1993)
  158.  
  159. @LCM - Least Common Multiple
  160.  
  161. Syntax
  162.  
  163. @LCM(X, Y)
  164.  
  165.  
  166.  
  167. X    Integer to find least common multiple of.
  168.  
  169. Y    Integer to find least common multiple of.
  170.  
  171.  
  172.  
  173. @LCM returns the least common multiple of X and Y (the smallest integer into which both X and Y can divide without leaving a remainder).
  174.  
  175. @LCM is otherwise known as the greatest common denominator, which is not to be confused with @GCD (the greatest common divisor).
  176.  
  177. Examples
  178.  
  179. @LCM(9,6) = 18
  180.  
  181. @LCM(24,12) = 24
  182.  
  183. @LEFT - Leftmost Characters
  184.  
  185. Syntax
  186.  
  187. @LEFT(String, Num)
  188.  
  189.  
  190.  
  191. String    A string value.
  192.  
  193. Num    A numeric value equal to or greater than 0.
  194.  
  195.  
  196.  
  197. @LEFT returns the leftmost Num characters of String. It lets you extract a specified number of characters starting from the left end of a string or label.
  198.  
  199. If String is a numeric or date value or a blank cell, @LEFT returns ERR. If Num is longer than the length of String, all of String is returned. The number of characters returned is never greater than the length of the string.
  200.  
  201. Examples
  202.  
  203. @LEFT("Jennifer",5) = Jenni
  204.  
  205. @LEFT("Jennifer",15) = Jennifer
  206.  
  207. @LEFT("155",1) = 1
  208.  
  209. @LEFT("     Jennifer",6) =      J (including five leading spaces)
  210.  
  211. @LEFT(123,1) = ERR (123 is a value)
  212.  
  213. @LENGTH(@LEFT("Jennifer",255)) = 8
  214.  
  215. @LENGTH - Number of Characters
  216.  
  217. Syntax
  218.  
  219. @LENGTH(String)
  220.  
  221.  
  222.  
  223. String    A string value.
  224.  
  225.  
  226.  
  227. @LENGTH returns the number of characters in String, including spaces. You can combine strings or cell addresses with an ampersand (&). When String is a text string, it must be enclosed by double quotes.
  228.  
  229. If you try to reference a blank cell with this @function, Quattro Pro returns ERR.
  230.  
  231. Examples
  232.  
  233. @LENGTH("Hello, world.") = 13
  234.  
  235. @LENGTH(" Jennifer") = 9 (including preceding space)
  236.  
  237. @LENGTH("Greetings "&"earthling") = 19 (including space after Greetings)
  238.  
  239. @LENGTH(29584949) = ERR (29584949 is a value, not a string)
  240.  
  241. @LENGTH(A6&B10) = total number of characters in A6 and B10
  242.  
  243. @LENGTH(B10) = ERR (if B10 is blank or a value) 
  244.  
  245. @LETTERTOINDEX - Sheet/Column Index Corresponding to Letter(s)
  246.  
  247. Syntax
  248.  
  249. @LETTERTOINDEX(Letters)
  250.  
  251.  
  252.  
  253. Letters    A one- or two-character string enclosed in quotation marks; column and sheet letters run in sequence from A to Z, and continue from AA to AZ, up to IV.
  254.  
  255.  
  256.  
  257. @LETTERTOINDEX returns the index number (from 0 to 255) for column letters or sheet letters.
  258.  
  259. If Letters is a character string outside the range of sheet and column letters (for example, "IW"), @LETTERINDEX returns ERR.
  260.  
  261. Examples
  262.  
  263. @LETTERTOINDEX("A") = 0
  264.  
  265. @LETTERTOINDEX("B") = 1
  266.  
  267. @LETTERTOINDEX("IV") = 255
  268.  
  269. @LINEST - Fits Line to Data
  270.  
  271. Syntax
  272.  
  273. @LINEST(KnownYs, <KnownXs>, <Const>, <Stats>)
  274.  
  275.  
  276.  
  277. KnownYs    Array of known y-values for the line y = mx + b.
  278.  
  279. KnownXs    Array of known x-values (optional).
  280.  
  281. Const    Logical value (optional) that tells @LINEST whether to force the constant b = 0:
  282.  
  283.  If Const is TRUE or omitted, @LINEST uses the actual value of b.
  284.  
  285.  If Const is FALSE, @LINEST sets b = 0, then adjusts the m-values so that y = mx.
  286.  
  287. Stats    Logical value (optional) that tells @LINEST whether to return more regression statistics.
  288.  
  289. If Stats is TRUE, @LINEST returns the array
  290.  
  291.  
  292.  
  293. If Stats is FALSE or omitted, @LINEST returns only the m-coefficients and b.
  294.  
  295.  
  296.  
  297. @LINEST uses the "least squares" method to calculate a straight line that best fits your data and returns an array to describe the line. @LINEST returns additional regression statistics when the argument Stats = TRUE.
  298.  
  299.   If known y-values are in one column, @LINEST takes each column of known x-values to be a separate variable. If known y-values are in one row, @LINEST takes each row of known x-values to be a separate variable.
  300.   
  301.   The argument KnownXs can include more than one set of variables. If you use more than one variable, KnownYs must be a single-column or single-row selection. Use commas to separate x-values in the same row and semicolons to separate rows.
  302.   
  303.   If you omit the argument KnownXs, @LINEST assumes it is the array {1, 2, 3,...} of a size equal to KnownYs.
  304.   
  305. The equation for the line is:
  306.  
  307.  
  308.  
  309. or
  310.  
  311. y = mx + b
  312.  
  313. where y is a function of x, the independent variable. The m-values are coefficients that correspond to the x-values. The value b is a constant. Values y, x, and m can be vectors. @LINEST returns the array
  314.  
  315.  
  316.  
  317.   For @LINEST to work, the x variables need to be in one contiguous block of data.
  318.   
  319.   Slope and y-intercept define a straight line.
  320.   
  321. Slope (m): Given any two points on a line  and 
  322. slope m = .
  323.  
  324. Y-intercept (b): The y-intercept of a line = the value of y where the line crosses the y-axis.
  325.  
  326. The equation of a straight line is y = mx + b. Knowing the values of m and b, you can find any point on the line if you know either y or x. You can also use @TREND.
  327.  
  328.   If there is only one independent x-variable, use the following formulas to find the slope and y-intercept values directly:
  329.   
  330. Slope: @INDEX(@LINEST(KnownYs, KnownXs),1)
  331.  
  332. Y-intercept: @INDEX(@LINEST(KnownYs, KnownXs),2)
  333.  
  334.   The accuracy of @LINEST's calculation depends on the scatter of your data. The more linear your data, the more accurate the @LINEST calculation. @LINEST determines the best fit for the data by the least squares method. Given only one independent x-variable, @LINEST uses the following formulas to calculate m and b:
  335.   
  336.  
  337.  
  338.   @LINEST fits the best straight line to your data; @LOGEST fits the best exponential curve. To decide which best fits your data, use @TREND for a straight line, or @GROWTH for an exponential curve, without the NewXs argument, to see an array of y-values predicted along that line or curve at your actual data points. Then compare predicted values with actual values. You can chart them for a visual comparison.
  339.   
  340.   Note that y-values predicted by the regression equation might not be valid if they are outside the cells of y-values you used to determine the equation.
  341.   
  342. Example 1 - Slope and Y-intercept
  343.  
  344. @LINEST({4,3,2,1},{0,1,2,3}) = {-1, 4}, meaning the slope = -1 and y-intercept = 4
  345.  
  346. Example 2 - Simple Linear Regression
  347.  
  348. Sales for your company in its first four quarters are entered in a selection named Sales:
  349.  
  350.  
  351.  
  352.     A    B
  353.  
  354. 1    Quarter    Sales
  355.  
  356. 2    1    $80,000
  357.  
  358. 3    2    $90,000
  359.  
  360. 4    3    $95,000
  361.  
  362. 5    4    $105,000
  363.  
  364.  
  365.  
  366. To predict third-quarter sales for the following year, enter the formula
  367.  
  368. @SUM(@LINEST(B2..B5)*{7,1})
  369.  
  370. The projected sales are displayed in the selected cells:
  371.  
  372.  
  373.  
  374. 6    5    
  375.  
  376. 7    6    
  377.  
  378. 8    7    $128,500
  379.  
  380. 9    8    
  381.  
  382.  
  383.  
  384. In general, @SUM({m,b}*{x,1}) = mx + b, the estimated y-value for a specified x-value. You can also use @TREND.
  385.  
  386. Regression Statistics
  387.  
  388. @LINEST and @LOGEST return additional regression statistics when the argument Stats = TRUE:
  389.  
  390.  
  391.  
  392. Statistic    Description
  393.  
  394. se1, se2,..., sen    Standard error values for coefficients m1, m2,..., mn.
  395.  
  396. seb    Standard error value for constant b (NA when Const is FALSE).
  397.  
  398. r2    Coefficient of determination, ranging from 0 to 1. Compares the estimated and actual y-values. When r2 = 1, there is a perfect correlation in the sample (no difference between the estimated and actual y-values). As r2 approaches 0, y-values become unpredictable. See note below for information about how r2 is calculated.
  399.  
  400. sey    Standard error for the y estimate.
  401.  
  402. F    F-observed value (F statistic). The F statistic measures whether the relationship observed between the y and x could occur by chance alone.
  403.  
  404. df    Degrees of freedom, used to find F-critical values in a statistical table. Compare these F-critical values to the F statistic to determine a confidence level for the model.
  405.  
  406. ssreg    Regression sum of squares.
  407.  
  408. ssresid    Residual sum of squares.
  409.  
  410.  
  411.  
  412. The additional regression statistics are displayed as follows:
  413.  
  414.  
  415.  
  416. In regression analysis, Quattro Pro calculates for each point the squared difference between the y-value estimated for that point and its actual y-value. The sum of these squared differences is called the residual sum of squares. Quattro Pro then calculates the sum of the squared differences between the actual y-values and the average of the y-values, which is called the total sum of squares (regression sum of squares + residual sum of squares). The smaller the residual sum of squares is, as compared with the total sum of squares, the larger the value of the coefficient of determination, r2, a measure of how well the equation resulting from the regression analysis explains the relationship among the variables.
  417.  
  418. Multiple Linear Regression
  419.  
  420. Example 1
  421.  
  422. High school grade point averages (GPA) are thought to depend on factors like the number of credit hours taken in the semester, the student's year in school, and hours worked at an outside job. Data for a small sample of students is in the following table:
  423.  
  424.  
  425.  
  426.     A    B    C    D
  427.  
  428. 1    GPA    Credit hrs    Yrs    Hrs on job
  429.  
  430. 2    3    15    4    2
  431.  
  432. 3    2    16    3    10
  433.  
  434. 4    4    12    4    0
  435.  
  436. 5    3.5    15    2    0
  437.  
  438.  
  439.  
  440. For the full regression display, enter the formula
  441.  
  442. @LINEST(A2..A5,B2..D5,TRUE,TRUE)
  443.  
  444. The result is the following array:
  445.  
  446.  
  447.  
  448.     A    B    C    D
  449.  
  450. 6    -0.11    -0.14    -0.26    7.68
  451.  
  452. 7    0.00    0.00    0.00    0.00
  453.  
  454. 8    1.00    0.00    NA    NA
  455.  
  456. 9    0.00    0.00    NA    NA
  457.  
  458. 10    2.19    0.00    NA    NA
  459.  
  460.  
  461.  
  462. Numbers in a full regression array are:
  463.  
  464.  
  465.  
  466. The multiple regression equation, y = m1*x1 + m2*x2 + m3*x3 + b, can now be obtained using the values from row 6:
  467.  
  468. y = - 0.26*x1 + (- 0.14)*x2 + (- 0.11)*x3 + 7.68
  469.  
  470. where
  471.  
  472.  
  473.  
  474. x1    credit hours
  475.  
  476. x2    year in school
  477.  
  478. x3    hours on job
  479.  
  480.  
  481.  
  482. To estimate the expected GPA of a third-year student who takes 14 credit hours and works 5 hours a week at an outside job, substitute:
  483.  
  484. y = - 0.26*14 - 0.14*3 - 0.11*5 + 7.68 = 3.1
  485.  
  486. Example 2
  487.  
  488. You have gathered data on 10 homes recently sold in your neighborhood. The table lists the amount each home sold for, the number of bedrooms and baths, total floor space in square feet, and lot size:
  489.  
  490.  
  491.  
  492.     A    B    C    D    E
  493.  
  494. 1    Sold for    Bedrms    Baths    Sq. ft.    Acres
  495.  
  496. 2    $255,000    2    2    1500    1
  497.  
  498. 3    $435,500    3    2.5    1900    5
  499.  
  500. 4    $395,500    2    2    1200    10
  501.  
  502. 5    $495,000    4    3    2400    1
  503.  
  504. 6    $125,000    1    1    950    0.25
  505.  
  506. 7    $270,000    2    2    1280    2
  507.  
  508. 8    $595,000    4    1.5    2100    4
  509.  
  510. 9    $249,500    2    2    1350    0.5
  511.  
  512. 10    $255,000    2    1    1100    1
  513.  
  514. 11    $244,500    2    1    1080    0.25
  515.  
  516.  
  517.  
  518. @LINEST(A2..A11,B2..E11,TRUE,TRUE) returns the following table of the full regression statistics:
  519.  
  520.  
  521.  
  522.     A    B    C    D    E
  523.  
  524. 12    x4=acres    x3=sq ft    x2=baths    x1=bedrooms    constant b
  525.  
  526. 13    17373.966    46.18235    -29475.5    118123.37    -10502.1
  527.  
  528. 14    1411.8687    39.42453    11029.34    16402.137    13092.08
  529.  
  530. 15    0.9967254    10962.52    NA    NA    NA
  531.  
  532. 16    380.471    5    NA    NA    NA
  533.  
  534. 17    1.829E+11    6.01E+08    NA    NA    NA
  535.  
  536.  
  537.  
  538. Note that these values are rounded off, because the default column width does not allow display of all digits, though full precision is stored in the cell. In further calculations, reference the cell for the value.
  539.  
  540. The multiple regression equation
  541.  
  542.  
  543.  
  544. can now be obtained using the values from row 13:
  545.  
  546. y = 118123.37*x1 - 29475.5*x2 + 46.18235*x3 + 17373.966*x4 - 10502.1
  547.  
  548. where
  549.  
  550.  
  551.  
  552. x1    number of bedrooms
  553.  
  554. x2    number of baths
  555.  
  556. x3    square feet of floor space
  557.  
  558. x4    lot size in acres
  559.  
  560.  
  561.  
  562. To find the expected selling price of a 3-bedroom, 2-bathroom house of 2250 square feet on 3.5 acres, enter
  563.  
  564. +D13*3 + C13*2 + B13*2250 + A13*3.5 + E13 = $449,636
  565.  
  566. You can also calculate this value using @TREND.
  567.  
  568. Using F and R2 Statistics
  569.  
  570. The coefficient of determination R-squared, in A15, is 0.9967254, showing a strong relationship between the independent variables and sales price.
  571.  
  572. To determine if such a strong correlation could occur by chance alone, compare the F statistic in A16 with the F-critical value. Tables of F-critical values can be found in many statistics textbooks. To read the table, assume a single-tailed test and use an alpha value of 0.05, meaning there is less than a 5% chance the correlation is accidental. For the degrees of freedom (abbreviated in most tables as v1 and v2), use
  573.  
  574. v1 = 4, the number of variables, and
  575.  
  576. v2 = s - (v1 + 1) = 10 - (4 + 1) = 5
  577.  
  578. where s = the number of houses in the sample.
  579.  
  580. The F-critical value in the table, for alpha = 0.05, v1 = 4, and v2 = 5, is 5.19. The F-observed value in Cell A16 is 380.471, which is much larger than 5.19. This means the regression equation can be used with assurance to predict expected sales prices for other homes in the area.
  581.  
  582. Calculating T-Statistics
  583.  
  584. You can also test each independent variable to see how well it predicts the expected selling price of a home. You do this by comparing the t-observed value for each variable with t-critical from a statistics table.
  585.  
  586. First divide slope m for each variable by its estimated standard error, se. For lot size, m appears in A13 and se is in A14, so
  587.  
  588. +A13/A14 (or 17373.966 / 1411.8687) = 12.30565
  589.  
  590. From a table of critical values of t, single tail, for alpha = 0.05 and 5 degrees of freedom (Cell B16 in the regression array above), t-critical = 2.015
  591.  
  592. The absolute value of t-observed for lot size, 12.30565, is above t-critical, showing lot size to be an important variable in predicting sales price for homes in the area. The other variables can be tested in the same way.
  593.  
  594.  
  595.  
  596. Variable    t-observed value
  597.  
  598. Number of bedrooms    7.201712
  599.  
  600. Number of baths    -2.67246
  601.  
  602. Floor space    1.171412
  603.  
  604. Lot size    12.30565
  605.  
  606.  
  607.  
  608. Number of bedrooms, number of baths, and lot size all have absolute values of t-observed > t-critical, so these variables are useful in predicting the sales price of a home in the area.
  609.  
  610. @LINTERP - Linear Interpolation
  611.  
  612. Syntax
  613.  
  614. @LINTERP(KnownX, KnownY, X)
  615.  
  616.  
  617.  
  618. KnownX    One-dimensional selection containing X values.
  619.  
  620. KnownY    One-dimensional selection containing Y values corresponding to the X values in KnownX.
  621.  
  622. X    Number for which the corresponding Y value is desired.
  623.  
  624.  
  625.  
  626. @LINTERP interpolates a Y value corresponding to X using the XY pairs specified by KnownX (which contains the X coordinates) and KnownY (which contains the Y coordinates). If X lies between two values in KnownX, @LINTERP interpolates using those two values and their respective KnownY counterparts. If X is outside the range of KnownX, the Y value is extrapolated based on the slope of the line between the two closest points.
  627.  
  628. KnownX and KnownY do not have to be the same size. If KnownY is smaller than KnownX, the last value in KnownY is used as the corresponding Y value for extra KnownX values. If KnownY is larger than KnownX, its extra values are ignored.
  629.  
  630. Example
  631.  
  632. This formula calculates the Y value for the X value 6.7 if the data in the next figure is used.
  633.  
  634. @LINTERP(A3..A9,B3..B9,6.7) = 17.5976
  635.  
  636.  
  637.  
  638.     A    B
  639.  
  640. 1    x values    y values
  641.  
  642. 2        
  643.  
  644. 3    -28.345    -9.7821
  645.  
  646. 4    -17.89    -5.6667
  647.  
  648. 5    0.9232    2.891
  649.  
  650. 6    1.212    2.9978
  651.  
  652. 7    4.552    13.67
  653.  
  654. 8    10.75    25.003
  655.  
  656. 9    30.8    33.33
  657.  
  658. @LLDEC - Latitude and Longitude to Decimal
  659.  
  660. Syntax
  661.  
  662. @LLDEC(Degrees, Minutes, Seconds, Direction)
  663.  
  664.  
  665.  
  666. Degrees    Degrees of Latitude or Longitude.
  667.  
  668. Minutes    Minutes of Latitude or Longitude.
  669.  
  670. Seconds    Seconds of Latitude or Longitude.
  671.  
  672. Direction    For Latitude, North (1) or South (2) of the equator; for Longitude, East (3) or West (4) of the prime meridian at Greenwich, England.
  673.  
  674.  
  675.  
  676. @LLDEC converts a latitude or longitude coordinate to decimal. Latitude south of the equator is represented as a negative number; longitude west of the prime meridian is represented as a negative number.
  677.  
  678. Examples
  679.  
  680. @LLDEC(38, 45, 15, 1) = 38.75417
  681.  
  682. @LLDEC(38, 45, 15, 2) = -38.75417
  683.  
  684. @LLDEC(143, 15, 25, 4) = -143.257
  685.  
  686. @LN - Natural Logarithm
  687.  
  688. Syntax
  689.  
  690. @LN(X)
  691.  
  692.  
  693.  
  694. X    A numeric value > 0.
  695.  
  696.  
  697.  
  698. @LN returns the natural logarithm of X. A natural logarithm uses the mathematical constant e as a base. @LN produces the inverse of @EXP.
  699.  
  700. Examples
  701.  
  702. @LN(3) = 1.098612289
  703.  
  704. @LN(@EXP(10)) = 10
  705.  
  706. @LN(16)/@LN(2) = 4
  707.  
  708. @LN(-4) = ERR (-4 is less than 0)
  709.  
  710. @LOG - Base 10 Logarithm
  711.  
  712. Syntax
  713.  
  714. @LOG(X)
  715.  
  716.  
  717.  
  718. X    A numeric value > 0.
  719.  
  720.  
  721.  
  722. @LOG returns the logarithm of a number in base 10.
  723.  
  724. Examples
  725.  
  726. @LOG(1000) = 3
  727.  
  728. @LOG(10^23.8) = 23.8
  729.  
  730. @LOG(16)/@LOG(2) = 4 (log to base 2 of 16)
  731.  
  732. @LOGBASE - Logarithm to Base X
  733.  
  734. Syntax
  735.  
  736. @LOGBASE(Number, <Base>)
  737.  
  738.  
  739.  
  740. Number    Positive real number.
  741.  
  742. Base    Base of the logarithm (optional); the default is 10.
  743.  
  744.  
  745.  
  746. @LOGBASE calculates the logarithm of a specified number to the specified base.
  747.  
  748. <Base> must be a value greater than 1; otherwise ERR is returned.
  749.  
  750. Examples
  751.  
  752. @LOGBASE(100) = 2
  753.  
  754. @LOGBASE(27,3) = 3
  755.  
  756. @LOGBASE(18,2) = 4.169925
  757.  
  758. @LOGCONV - Converts Logarithm to Another Base
  759.  
  760. Syntax
  761.  
  762. @LOGCONV(Number, FromBase, ToBase) 
  763.  
  764.  
  765.  
  766. Number    Value to be converted = the log of a number m to the base b.
  767.  
  768. FromBase    Positive integer greater than 1.
  769.  
  770. ToBase    Positive integer greater than 1.
  771.  
  772.  
  773.  
  774. @LOGCONV converts a specified logarithm from one specified base to another. For Number =  @LOGCONV uses the formula:
  775.  
  776.  
  777.  
  778. where
  779.  
  780.  
  781.  
  782. m    a number
  783.  
  784. b    original base
  785.  
  786. a    new base
  787.  
  788.  
  789.  
  790. If FromBase = 1, @LOGCONV returns ERR because the log of b to the base a is zero.
  791.  
  792. If FromBase or ToBase are negative or non-integer, @LOGCONV returns ERR.
  793.  
  794. Examples
  795.  
  796. @LOGCONV(2,4,2) = 4
  797.  
  798. @LOGCONV(3,4,2) = 6
  799.  
  800. @LOGEST - Fits Curve to Data
  801.  
  802. Syntax
  803.  
  804. @LOGEST(KnownYs, <KnownXs>, <Const>, <Stats>)
  805.  
  806.  
  807.  
  808. KnownYs    Array of known y-values for the curve y = b*m^x.
  809.  
  810. KnownXs    Array of known x-values.
  811.  
  812. Const    Logical value (optional) that tells @LOGEST whether to force the constant b = 1:
  813.  
  814.  If Const is TRUE or omitted, @LOGEST uses the actual value of b.
  815.  
  816.  If Const is FALSE, @LOGEST sets b = 1, then adjusts the m-values so that y = m^x.
  817.  
  818. Stats    Logical value (optional) that tells @LOGEST whether to return more regression statistics.
  819.  
  820.  If Stats is TRUE, @LOGEST returns the array
  821.  
  822.  
  823.  
  824.  If Stats is FALSE or omitted, @LOGEST returns only the m-coefficients and b.
  825.  
  826.  
  827.  
  828. @LOGEST calculates an exponential curve that fits your data and returns an array to describe the curve. @LOGEST returns additional regression statistics when the argument Stats = TRUE.
  829.  
  830.   If known y-values are in one column, @LOGEST takes each column of known x-values to be a separate variable. If known y-values are in one row, @LOGEST takes each row of known x-values to be a separate variable.
  831.   
  832.   If any of the known y-values are 0 or negative, @LOGEST returns ERR.
  833.   
  834.   The argument KnownXs can include more than one set of variables. If you use only one variable, KnownYs and KnownXs can be selections of any shape, but must have the same dimensions. If you use more than one variable, KnownYs must be a single-column or single-row selection. Use commas to separate x-values in the same row and semicolons to separate rows.
  835.   
  836.   If you omit the argument KnownXs, @LOGEST assumes it is the array {1, 2, 3,...} of a size equal to KnownYs.
  837.   
  838. The equation for the curve is  or 
  839.  
  840. where y is a function of x, the independent variable. The m-values are bases that correspond to the exponent x-values. The value b is a constant. Values y, x, and m can be vectors. @LOGEST returns the array .
  841.  
  842. If there is only one independent x-variable, use the following formulas to find the slope and y-intercept values directly:
  843.  
  844. Slope m: @INDEX(@LOGEST(KnownYs, KnownXs),1)
  845.  
  846. Y-intercept b: @INDEX(@LOGEST(KnownYs, KnownXs),2)
  847.  
  848. The accuracy of @LOGEST's calculation depends on how close the plot of your data comes to an exponential curve. @LINEST fits the best straight line to your data; @LOGEST fits the best exponential curve. To decide which best fits your data, use @TREND for a straight line, or @GROWTH for an exponential curve, without the NewXs argument, to see an array of y-values predicted along that line or curve at your actual data points. Then compare predicted values with actual values. You can chart them for a visual comparison.
  849.  
  850. The y-values predicted by the regression equation might not be valid if they are outside the cells of the y-values you used to determine the equation.
  851.  
  852. Using @LOGEST to test an equation is similar to using @LINEST. However, the additional statistics @LOGEST returns are based on the following linear model:
  853.  
  854.  
  855.  
  856. Remember this when evaluating the additional statistics, especially the sei and seb values, which should be compared to ln mi and ln b, not to mi and b.
  857.  
  858. Example
  859.  
  860. Sales for your company in its first four quarters are entered in a selection named Sales:
  861.  
  862.  
  863.  
  864.     A    B
  865.  
  866. 1    Quarter    Sales
  867.  
  868. 2    1    $75,000
  869.  
  870. 3    2    $90,000
  871.  
  872. 4    3    $115,000
  873.  
  874. 5    4    $140,000
  875.  
  876.  
  877.  
  878. For the full regression display, enter the formula
  879.  
  880. @LOGEST(Sales,A2..A5,TRUE,TRUE)
  881.  
  882. The regression statistics are returned as follows:
  883.  
  884.  
  885.  
  886. 6    1.235849    60133.78
  887.  
  888. 7    0.008186    0.022419
  889.  
  890. 8    0.99702    0.018305
  891.  
  892. 9    669.1028    2
  893.  
  894. 10    0.224208    0.00067
  895.  
  896.  
  897.  
  898. The equation for the curve is y = b * m1^x1.
  899.  
  900. So, using the values from the array:
  901.  
  902. y = 60133.78 * 1.23585^x
  903.  
  904. To estimate sales for future months, substitute the month number for x in this equation, or use @GROWTH. For example, for the fifth month:
  905.  
  906. y = 60133.78 * 1.23585^5 = $173,359
  907.  
  908. You can use the additional regression statistics (cells A6..B10 in this example) to determine how useful the equation is for predicting future values. For instance, the value in cell A8 in this example is the r-squared (r2) value. When r-squared = 1, there is a perfect correlation in the sample (no difference between the estimated and actual y-values). As  r-squared approaches 0, y-values become unpredictable.
  909.  
  910. @LOGINV - Inverse of Cumulative Lognormal Distribution
  911.  
  912. Syntax
  913.  
  914. @LOGINV(Prob, Mean, SDev)
  915.  
  916.  
  917.  
  918. Prob    Probability associated with the cumulative lognormal distribution function; 0 ú Prob < 1.
  919.  
  920. Mean    Mean of ln(x).
  921.  
  922. SDev    Standard deviation of ln(x); must be > 0.
  923.  
  924.  
  925.  
  926. @LOGINV returns the inverse of the cumulative lognormal distribution.
  927.  
  928. Example
  929.  
  930. @LOGINV(0.027985,2.5,0.8) = 2.640543
  931.  
  932. @LOGNORMDIST - Cumulative Lognormal Distribution
  933.  
  934. Syntax
  935.  
  936. @LOGNORMDIST(X, Mean, SDev)
  937.  
  938.  
  939.  
  940. X    Value to evaluate the function; must be > 0.
  941.  
  942. Mean    Mean of ln(x).
  943.  
  944. SDev    Standard deviation of ln(x); must be > 0.
  945.  
  946.  
  947.  
  948. @LOGNORMDIST returns the cumulative lognormal distribution.
  949.  
  950. Example
  951.  
  952. @LOGNORMDIST(3,2.5,0.8) = 0.03991
  953.  
  954. @LOOKUP - Looks Up Values
  955.  
  956. Syntax
  957.  
  958. @LOOKUP(Value, LookupVector, ResultVector)
  959.  
  960.  
  961.  
  962. Value    Value to look for in LookupVector; can be a number, text, logical value, or reference to a value.
  963.  
  964. LookupVector    Cells containing only one row or column.
  965.  
  966. ResultVector    Selection of the same dimensions as LookupVector and containing corresponding values.
  967.  
  968.  
  969.  
  970. @LOOKUP looks up values in a specified row or column. It looks in a designated row or column for a specified value, moves to the corresponding cell in another specified row or column, and returns the value it finds there.
  971.  
  972. Values in LookupVector and ResultVector must be in ascending order for @LOOKUP to return the correct value (upper- and lowercase text have the same values).
  973.  
  974. @LOOKUP lets you specify row or column to look in, as well as the one containing the value to return.
  975.  
  976. Examples
  977.  
  978. From the wind chill table below, you want to find the apparent temperature at a certain wind speed.
  979.  
  980.  
  981.  
  982.     A    B    C    D    E    F    G
  983.  
  984. 1                Wind Speed            
  985.  
  986. 2    Deg. F    5    10    15    20    25    30
  987.  
  988. 3    10    6    -9    -18    -25    -29    -33
  989.  
  990. 4    20    16    4    -5    -10    -15    -18
  991.  
  992. 5    30    27    16    9    4    0    -2
  993.  
  994. 6    40    37    28    22    18    16    13
  995.  
  996. 7    50    48    40    36    32    30    28
  997.  
  998.  
  999.  
  1000. To find the apparent temperature when the thermometer reads 25 degrees Fahrenheit and the wind is blowing at 10 miles an hour, enter
  1001.  
  1002. @LOOKUP(25,A2..A7,C2..C7)
  1003.  
  1004. The result is 4 degrees F, which is the apparent temperature corresponding to a thermometer reading of 20 degrees, the next lower value.
  1005.  
  1006. At 20 degrees, when the wind is twice as strong (20 mph), the apparent temperature is
  1007.  
  1008. @LOOKUP(20,A2..A7,E2..E7) = -10
  1009.  
  1010. @LOWER - String in Lowercase
  1011.  
  1012. Syntax
  1013.  
  1014. @LOWER(String)
  1015.  
  1016.  
  1017.  
  1018. String    A string value.
  1019.  
  1020.  
  1021.  
  1022. @LOWER returns String in lowercase characters. Numbers and symbols within a string are unaffected. Numeric and date values return ERR.
  1023.  
  1024. Examples
  1025.  
  1026. @LOWER("UPPER") = upper
  1027.  
  1028. @LOWER("Hello, world.") = hello, world.
  1029.  
  1030. @LOWER("145 Bancroft Lane") = 145 bancroft lane
  1031.  
  1032. @LOWER(4839) = ERR
  1033.  
  1034. @LOWER(@LEFT("Johnson",1)) = j
  1035.  
  1036. @LWKDAY - Last Weekday
  1037.  
  1038. Syntax
  1039.  
  1040. @LWKDAY(Wkday, Month, Year, <AuxWkday>)
  1041.  
  1042.  
  1043.  
  1044. Wkday    Number from 1 (Saturday) to 7 (Friday).
  1045.  
  1046. Month    Number from 1 (January) to 12 (December).
  1047.  
  1048. Year    Number from 0 (1900) to 199 (2099) or a standard year like 1993. 
  1049.  
  1050. AuxWkday    Auxiliary day of the week that must fall in the same week as Wkday; 0 for no auxiliary day or a number from 1 (Saturday) to 7 (Friday) indicating the auxiliary day (the default is 0).
  1051.  
  1052.  
  1053.  
  1054. @LWKDAY returns the serial date number for the date of the last occurrence of Wkday in Month of Year (for example, the last Tuesday in November 1994).
  1055.  
  1056. See "Using dates and times in Quattro Pro."
  1057.  
  1058. You can use AuxWkday to specify that both Wkday and AuxWkday must fall in the same week of the same month. (See the second example.)
  1059.  
  1060. The valid date calculation range for this function is 01/01/1900 through 12/31/2099.
  1061.  
  1062. Examples
  1063.  
  1064. /@LWKDAY(3,6,115)= 42184 (June 29, 2015), the date of the last Monday in June 2015.
  1065.  
  1066. @LWKDAY(4,11,94,7)= 34660 (November 22, 1994), the last Tuesday on which both the last Tuesday and a Friday fall on the same week of November 1994.
  1067.  
  1068. @MATCH - Position of Matching Cell
  1069.  
  1070. Syntax
  1071.  
  1072. @MATCH(Cell Contents, Block, <Match Type>)
  1073.  
  1074.  
  1075.  
  1076. Cell Contents    Numeric or string value to be matched.
  1077.  
  1078. Block    Cells, contiguous selections, an array, or array reference.
  1079.  
  1080. <Match Type>    -1, 0, or 1. Match Type specifies which cell positions are returned: 
  1081. -1 = smallest, 1 = largest, 0 = first found.
  1082.  
  1083.  
  1084.  
  1085. @MATCH returns the relative position of the cell in Block whose contents match the Cell Contents argument.
  1086.  
  1087. @MATCH returns the position of the item rather than the item itself.
  1088.  
  1089. @MATCH returns ERR or 0 if no matches are found.
  1090.  
  1091. Match Type = -1, returns the position of the smallest value that is greater than or equal to Cell Contents. Selections must be arranged in descending order.
  1092.  
  1093. Match Type = 0,  returns the position of the first value that is exactly equal to Cell Contents. Blocks may be arranged in any order. 
  1094.  
  1095. Match Type = 1, returns the position of the largest value that is less than or equal to Cell Contents. Selections must be arranged in ascending order. 
  1096.  
  1097. Match Type =1 is the Default Value.
  1098.  
  1099. Examples
  1100.  
  1101.  
  1102.  
  1103.     A    B
  1104.  
  1105. 1    Name    Grade
  1106.  
  1107. 2    Fred    92
  1108.  
  1109. 3    Mary    84
  1110.  
  1111. 4    Reno    75
  1112.  
  1113. 5    Anne    67
  1114.  
  1115. 6    John    54
  1116.  
  1117.  
  1118.  
  1119. In cell selections, or arrays of cells, @MATCH uses zero-based numbering (the first cell in the selection equals 0).
  1120.  
  1121. @MATCH(75,B1..B4,-1) = 3
  1122.  
  1123. @MATCH(75,B1..B4,0) = 3
  1124.  
  1125. @MATCH(75,B1..B4,1) = 0 (the selection is ordered incorrectly)
  1126.  
  1127. @MATCH("RENO",A1..A4,0) = 3 (Reno is third in his class)
  1128.  
  1129. Also, @MATCH("b",{"a","b","c"},0) = 1 (the first item in the array equals 0).
  1130.  
  1131. @MAX - Maximum Value
  1132.  
  1133. Syntax
  1134.  
  1135. @MAX(List)
  1136.  
  1137.  
  1138.  
  1139. List    One or more numeric values, cell addresses, and references or names, separated by commas.
  1140.  
  1141.  
  1142.  
  1143. @MAX returns the largest numeric or data value in List. If more than one selection is listed, commas must separate the selections. If any of the cells referenced contain ERR, the resulting value is ERR.
  1144.  
  1145. Examples
  1146.  
  1147.  
  1148.  
  1149.     A    B    C    D
  1150.  
  1151. 1        Jan.    Feb.    Mar.
  1152.  
  1153. 2    JA    $652    $833    $599
  1154.  
  1155. 3    MH    $456    $305    $522
  1156.  
  1157. 4    RB    $68    $59    $73
  1158.  
  1159. 5    PD    $379    $379    $379
  1160.  
  1161.         ------    ------    ------
  1162.  
  1163. 6        $1,555    $1,576    $1,573
  1164.  
  1165.  
  1166.  
  1167. @MAX(B3..B5) = $456
  1168.  
  1169. @MAX(C3..C5,D3..D5) = $522
  1170.  
  1171. @MAX(A1..D6) = $1,576
  1172.  
  1173. @MAX(B2..C5,D3) = $833
  1174.  
  1175. @MAXLOOKUP - Cell Containing Largest Value
  1176.  
  1177. Syntax
  1178.  
  1179. @MAXLOOKUP(BlockList)
  1180.  
  1181.  
  1182.  
  1183. BlockList    Cells or list of selections containing numeric values.
  1184.  
  1185.  
  1186.  
  1187. @MAXLOOKUP returns the address of the cell containing the largest value in specified cells or list of selections. @MAXLOOKUP return ERR if no cells in BlockList contain values.
  1188.  
  1189. Separate the entries in BlockList with argument separators.
  1190.  
  1191. Labels and blank cells in BlockList are ignored.
  1192.  
  1193. Example
  1194.  
  1195. Suppose you keep lists of contributors and the amounts they gave in separate notebooks for each year. The notebooks have the same layout, because you built them from the same template. To find the cell location of the maximum amount anyone gave over all the years for which you have files, enter
  1196.  
  1197. @MAXLOOKUP([YR1992]AMOUNT, [YR1993]AMOUNT, [YR1994]AMOUNT, [YR1995]AMOUNT)
  1198.  
  1199. @MDAYS - Calendar Days in Month
  1200.  
  1201. Syntax
  1202.  
  1203. @MDAYS(Month, Year)
  1204.  
  1205.  
  1206.  
  1207. Month    Number from 1 (January) to 12 (December).
  1208.  
  1209.              Year    Number from 0 (1900) to 199 (2099) or a standard year like 1993.
  1210.  
  1211.  
  1212.  
  1213. @MDAYS returns the number of calendar days in Month of Year.
  1214.  
  1215. The valid date calculation range for this function is 01/01/1900 through 12/31/2099.
  1216.  
  1217. See "Using dates and times in Quattro Pro."
  1218.  
  1219. Example
  1220.  
  1221. @MDAYS(2,1996)= 29, the number of days in February 1996.
  1222.  
  1223. @MDET - Determinant of a Matrix
  1224.  
  1225. Syntax
  1226.  
  1227. @MDET(Array)
  1228.  
  1229.  
  1230.  
  1231. Array    A numeric array or a selection of values specifying a square matrix; must have an equal number of rows and columns, and cannot contain blank cells.
  1232.  
  1233.  
  1234.  
  1235. @MDET calculates the determinant of a matrix (Array). The determinant is obtained by taking any row or column of the matrix, forming the products of each element and its cofactor, and taking the sum of the products; @MDET uses this formula:
  1236.  
  1237.  
  1238.  
  1239. where aij is the element in the ith row and jth column of A and the cofactor aij is the product of the determinant of the minor matrix Mij, formed by deleting row i and column j of A, and a power of -1:
  1240.  
  1241.  
  1242.  
  1243. If Array does not contain the same number of rows and columns, or if Array contains any blank cells, @MDET returns ERR. If any two rows or columns in Array are equal or have proportional elements, @MDET returns 0.
  1244.  
  1245. The result of @MDET is accurate to approximately 16 digits, which can lead to a small numeric error when the cancellation is not complete.
  1246.  
  1247. Examples
  1248.  
  1249. @MDET({12,15,21|8,13,17|16,32,44}) = 144
  1250.  
  1251. This formula calculates the determinant of the data shown in the next figure:
  1252.  
  1253. @MDET(C3..F6) = -2869.95
  1254.  
  1255.  
  1256.  
  1257.     C    D    E    F
  1258.  
  1259. 3    2.908    -2.253    6.775    3.97
  1260.  
  1261. 4    1.212    1.995    2.266    8.008
  1262.  
  1263. 5    4.552    5.681    8.85    1.302
  1264.  
  1265. 6    5.809    -5.03    0.099    7.832
  1266.  
  1267. @MDURATION - Modified Duration
  1268.  
  1269. Syntax
  1270.  
  1271. @MDURATION(Settle, Maturity, Coupon, Yield, <Freq>, <Calendar>)
  1272.  
  1273.  
  1274.  
  1275. Settle    Number representing the settlement date; must be < Maturity.
  1276.  
  1277. Maturity    Number representing the maturity date; must be > Settle.
  1278.  
  1279. Coupon    Coupon rate; 0 ú Coupon ú 1.
  1280.  
  1281. Yield    Annual yield; 0 < Yield ú 1.
  1282.  
  1283. Freq    Frequency of coupon payments in number of payments per year (can be 1, 2, 3, 4, 6, or 12; the default is 2).
  1284.  
  1285. Calendar    Flag specifying which calendar to observe (0 = 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365; the default is 0).
  1286.  
  1287.  
  1288.  
  1289. @MDURATION returns the modified Macaulay duration for a bond with assumed par value of 100. Modified duration is calculated using this formula:
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295. D    Duration
  1296.  
  1297. Y    Yield
  1298.  
  1299. F    Frequency
  1300.  
  1301.  
  1302.  
  1303. Example
  1304.  
  1305. This formula calculates the modified duration of a bond with these terms: Settle is August 8, 1992, Maturity is November 15, 1998, Coupon is 9%, and Yield is 8.816%.
  1306.  
  1307. @MDURATION(@DATE(92,8,8),@DATE(98,11,15),0.09,0.08816) = 4.631923
  1308.  
  1309. @MEDIAN -Middle Value
  1310.  
  1311. Syntax
  1312.  
  1313. @MEDIAN(List)
  1314.  
  1315.  
  1316.  
  1317. List    One or more numeric or cell values.
  1318.  
  1319.  
  1320.  
  1321. @MEDIAN returns the middle value in a range of values in a data set arranged in ascending or descending order. If the number of values in the data set is even, the median is the mean of the two middle values. Use @MEDIAN when you want a more robust estimation of the central value in a distribution than you obtain with @AVG.
  1322.  
  1323. Examples
  1324.  
  1325. @MEDIAN(10,12,15,25,30) = 15
  1326.  
  1327. @MEDIAN(2,4,5,5,6,8,9,9) = 5.5
  1328.  
  1329. @MEMAVAIL - Memory Available
  1330.  
  1331. Syntax
  1332.  
  1333. @MEMAVAIL
  1334.  
  1335. @MEMAVAIL returns the number of bytes of memory currently available.
  1336.  
  1337. Example
  1338.  
  1339. @MEMAVAIL = 47819 (if 47,819 bytes of memory are available)
  1340.  
  1341. @MEMEMSAVAIL - Expanded Memory Available
  1342.  
  1343. Syntax
  1344.  
  1345. @MEMEMSAVAIL
  1346.  
  1347. @MEMEMSAVAIL is included for compatibility with Quattro Pro for DOS; it always returns NA under Windows.
  1348.  
  1349. @MID - Extract Characters from String
  1350.  
  1351. Syntax
  1352.  
  1353. @MID(String, StartNumber, Num)
  1354.  
  1355.  
  1356.  
  1357. String    A string value.
  1358.  
  1359. StartNumber    A numeric value equal to or greater than 0.
  1360.  
  1361. Num    A numeric value equal to or greater than 0.
  1362.  
  1363.  
  1364.  
  1365. @MID extracts the first Num characters of String starting at StartNumber, which is the number of characters to the right of the first character (character 0). It is similar to @LEFT, which extracts Num characters of String beginning with the first character. The difference is that you can specify a character other than the first character in the string.
  1366.  
  1367. String can be any text string (enclosed by quotes) or reference to a cell containing a label. If StartNumber is greater than or equal to the length of String or if Num is 0, the result is "", or an empty string.
  1368.  
  1369. Examples
  1370.  
  1371. @MID("Abraham Lincoln",8,7) = Lincoln
  1372.  
  1373. @MID("George Washington",7,4) = Wash
  1374.  
  1375. @MID("Theodore Roosevelt",19,5) = ""
  1376.  
  1377. @MID(A23,@FIND("Roosevelt",A23,0),@LENGTH("Roosevelt")) = Roosevelt (if A23 = Franklin Roosevelt) 
  1378.  
  1379. @MIN - Minimum Value
  1380.  
  1381. Syntax
  1382.  
  1383. @MIN(List)
  1384.  
  1385.  
  1386.  
  1387. List    One or more numeric values, cell addresses, and references or names, separated by commas.
  1388.  
  1389.  
  1390.  
  1391. @MIN returns the smallest numeric or data value in List. If List contains more than one value, commas must separate the values. Labels are treated in all statistical functions as 0 and should therefore be excluded from List.
  1392.  
  1393. If List is entered as cells and one or more cells in the cells are blank, the blanks are excluded from the calculation; otherwise, blanks are treated as 0.
  1394.  
  1395. Examples
  1396.  
  1397.  
  1398.  
  1399.     A    B    C    D
  1400.  
  1401. 1        Jan.    Feb.    Mar.
  1402.  
  1403. 2    JA    $652    $833    $599
  1404.  
  1405. 3    MH    $456    $305    $522
  1406.  
  1407. 4    RB    $68    $59    $73
  1408.  
  1409. 5    PD    $379    $379    $379
  1410.  
  1411.         ------    ------    ------
  1412.  
  1413. 6        $1,555    $1,576    $1,573
  1414.  
  1415.  
  1416.  
  1417. @MIN(B3..B6) = $68
  1418.  
  1419. @MIN(B2..D2,B4..D4) = $59
  1420.  
  1421. @MIN(B3..D3) = $305
  1422.  
  1423. @MINLOOKUP - Cell Containing the Smallest Value
  1424.  
  1425. Syntax
  1426.  
  1427. @MINLOOKUP(BlockList)
  1428.  
  1429.  
  1430.  
  1431. BlockList    Cells or list of selections containing numeric values.
  1432.  
  1433.  
  1434.  
  1435. @MINLOOKUP returns the address of the cell containing the smallest value in specified cells or list of selections. @MINLOOKUP return ERR if no cells in BlockList contain values.
  1436.  
  1437. Separate the entries in BlockList with argument separators.
  1438.  
  1439. Labels and blank cells in BlockList are ignored.
  1440.  
  1441. Example
  1442.  
  1443. Suppose you keep lists of contributors and the amounts they gave in separate notebooks for each year. The notebooks have the same layout, because you built them from the same template. To find the cell location of the minimum amount anyone gave over all the years for which you have files, enter
  1444.  
  1445. @MINLOOKUP([YR1992]AMOUNT, [YR1993]AMOUNT, [YR1994]AMOUNT, [YR1995]AMOUNT)
  1446.  
  1447. @MINUTE - Minute Portion of Date Serial Number
  1448.  
  1449. Syntax
  1450.  
  1451. @MINUTE(DateTimeNumber)
  1452.  
  1453.  
  1454.  
  1455. DateTimeNumber    A numeric value between -109571 and 474816.9999999, representing a date/time serial number: -109571 = January 1, 1600; 0 = December 31, 1899; 474816 = December 31, 3199; the decimal = time (24 hr).
  1456.  
  1457.  
  1458.  
  1459. See "Using dates and times in Quattro Pro."
  1460.  
  1461. @MINUTE returns the minute portion of DateTimeNumber. DateTimeNumber must be a valid date/time serial number. Because only the decimal portion of a serial number pertains to time, the integer portion of the number is disregarded. The result is between 0 and 59.
  1462.  
  1463. To extract the minute portion of a string that is in time format (instead of serial format), use @TIMEVALUE with @MINUTE to translate the time into a serial number. You can also use @TIME to enter a time value instead of a serial number.
  1464.  
  1465. Examples
  1466.  
  1467. @MINUTE(.36554) = 46
  1468.  
  1469. @MINUTE(.2525) = 3
  1470.  
  1471. @MINUTE(35) = 0
  1472.  
  1473. @MINUTE(@TIME(3,15,22)) = 15
  1474.  
  1475. @MINUTE(@TIMEVALUE("10:08 am")) = 8
  1476.  
  1477. @MINVERSE - Inverse Matrix
  1478.  
  1479. Syntax
  1480.  
  1481. @MINVERSE(Array)
  1482.  
  1483.  
  1484.  
  1485. Array    Square numeric array (same number of rows as columns); you can use a cell reference or cell name or an array constant like {1,2|3,4}.
  1486.  
  1487.  
  1488.  
  1489. @MINVERSE returns the inverse matrix for a matrix stored in a square array. Matrices are helpful in solving problems with many variables in mathematics and economics.
  1490.  
  1491. @MINVERSE returns ERR if:
  1492.  
  1493.   Any cells in Array are empty or contain text.
  1494.   
  1495.   Array does not have an equal number of rows and columns.
  1496.   
  1497. To show how the inverse of a 2 x 2 matrix is calculated, suppose cells A1..B2 contains the letters a, b, c, and d, representing any four numbers:
  1498.  
  1499.  
  1500.  
  1501.     A    B
  1502.  
  1503. 1    a    c
  1504.  
  1505. 2    b    d
  1506.  
  1507.  
  1508.  
  1509. The inverse of the matrix in A1..B2 is:
  1510.  
  1511.  
  1512.  
  1513.     A    B
  1514.  
  1515. 1    d/(a*d - b*c)    b/(b*c - a*d)
  1516.  
  1517. 2    c/(b*c - a*d)    a/(a*d - b*c)
  1518.  
  1519.  
  1520.  
  1521. The product of a matrix and its inverse is the identity matrix, in which all diagonal values = 1 and all other values = 0.
  1522.  
  1523. The result of @MINVERSE is accurate to approximately 16 digits; this can lead to a small numeric error when the cancellation is not complete.
  1524.  
  1525. Some square matrices cannot be inverted, and @MINVERSE returns ERR. The determinant is 0 for a matrix that cannot be inverted.
  1526.  
  1527. Use @INDEX to get individual elements from an inverse matrix.
  1528.  
  1529. Examples
  1530.  
  1531. @MINVERSE({1,2|3,4}) = {-2,1|1.5,-0.5}
  1532.  
  1533. @MINVERSE({2,1,0|0.5,1,-0.5|3,2,1}) = {1,-0.5,-0.25|-1,1,0.5|-1,-0.5,0.75}
  1534.  
  1535. @MIRR - Modified Internal Rate of Return
  1536.  
  1537. Syntax
  1538.  
  1539. @MIRR(Block, FinRate, ReinvRate, <Type>)
  1540.  
  1541.  
  1542.  
  1543. Block    Cells containing cash flows; negative = outflow, positive = inflow.
  1544.  
  1545. FinRate    Interest rate paid for funds used in cash flows.
  1546.  
  1547. ReinvRate    Interest rate received on reinvested funds used in cash flows.
  1548.  
  1549. Type    Timing of the cash flows (optional):
  1550.  
  1551. 0 = end of each period (default)
  1552.  
  1553. 1 = beginning of each period
  1554.  
  1555.  
  1556.  
  1557. @MIRR calculates the modified internal rate of return on an investment consisting of payments made at regular intervals.
  1558.  
  1559. The cells must contain at least one positive value and one negative value. Normally, the first cash-flow amount in the cells is a negative number (a cash outflow) that represents the investment. Quattro Pro assigns the value 0 to all blank cells and labels in Block and includes them in the calculation.
  1560.  
  1561. @MIRR helps you determine the profitability of an investment. To assess an investment, combine @MIRR with other financial functions, like @NPV.
  1562.  
  1563. MIRR relates to NPV by the following formula:
  1564.  
  1565.  
  1566.  
  1567. where
  1568.  
  1569.  
  1570.  
  1571. ci    cash received in (positive)
  1572.  
  1573. co    cash paid out (negative)
  1574.  
  1575. n    number of cash flows
  1576.  
  1577. f    finance rate
  1578.  
  1579. r    reinvestment rate
  1580.  
  1581. Examples
  1582.  
  1583. You bought a small cafe at the end of 1990 for $250,000. The first year of operation (1992) you spent a lot on restoration and advertising, but since then profits have grown. You want to know when the business started to pay for itself and what the return is now. Your finance rate is 9.5%, your reinvestment rate is 11.5%, and you reinvest your profits at the end of the period.
  1584.  
  1585.  
  1586.  
  1587.     A    B    C    D
  1588.  
  1589. 1    Year    Profit/Loss    end/per    beg/per
  1590.  
  1591. 2    1990    ($250,000)        
  1592.  
  1593. 3    1991    ($50,000)        
  1594.  
  1595. 4    1992    $112,500    -25.31%    -38.32%
  1596.  
  1597. 5    1993    $120,500    -2.31%    -5.95%
  1598.  
  1599. 6    1994    $128,500    8.32%    8.03%
  1600.  
  1601. 7    1995    $136,500    13.77%    14.64%
  1602.  
  1603.  
  1604.  
  1605. For each year of profit, enter @MIRR in Column C for the cash flow up through that year. For example, in Cell C4,
  1606.  
  1607. @MIRR(B2..B4,0.095,0.115) = -25.31% and in Cell C7,
  1608.  
  1609. @MIRR(B2..B7,0.095,0.115) = 13.77%. Your investment began to pay off in 1994.
  1610.  
  1611. If you could reinvest your profits at the beginning of the period instead of the end, your return would be higher. You found this out by entering the same formulas in Column D but with Type = 1. For example, in Cell D7,
  1612.  
  1613. @MIRR(B2..B7,0.095,0.115,1) = 14.64%
  1614.  
  1615. @MMULT - Matrix Product of Two Arrays
  1616.  
  1617. Syntax
  1618.  
  1619. @MMULT(Array1, Array2)
  1620.  
  1621.  
  1622.  
  1623. Array1, Array2    Arrays to be multiplied.
  1624.  
  1625.  
  1626.  
  1627. @MMULT calculates the matrix product of two arrays. The resulting array has the same number of rows as Array1 and the same number of columns as Array2.
  1628.  
  1629.   The number of columns in Array1 must equal the number of rows in Array2.
  1630.   
  1631.   Array1 and Array2 must contain only numbers.
  1632.   
  1633.   Array1 and Array2 can be specified as cell names or references, or array constants.
  1634.   
  1635. The matrix product array a of two arrays b and c is:
  1636.  
  1637.  
  1638.  
  1639. Examples
  1640.  
  1641. @MMULT({2,3|1,0},{1,0|0,1}) = {2,3|1,0}
  1642.  
  1643. Given the following arrays,
  1644.  
  1645.  
  1646.  
  1647.     A    B    C
  1648.  
  1649. 1    1    2    0
  1650.  
  1651. 2    3    2    1
  1652.  
  1653. 3    1    0    3
  1654.  
  1655. 4            
  1656.  
  1657. 5    2    1    
  1658.  
  1659. 6    0    2    
  1660.  
  1661. 7    1    0    
  1662.  
  1663.  
  1664.  
  1665. Enter @MMULT({A1..C3},{A5..B7})
  1666.  
  1667. The result is displayed as follows:
  1668.  
  1669.  
  1670.  
  1671.     A    B    C
  1672.  
  1673. 8    2    5    
  1674.  
  1675. 9    7    7    
  1676.  
  1677. 10    5    1    
  1678.  
  1679. @MNTHS - Months
  1680.  
  1681. Syntax
  1682.  
  1683. @MNTHS(StartDate, EndDate, <EndMnth>)
  1684.  
  1685.  
  1686.  
  1687. StartDate    Number representing the start date. See "Using dates and times in Quattro Pro."
  1688.  
  1689. EndDate    Number representing the end date.
  1690.  
  1691. EndMnth    1 to indicate adherence to ends of months; 0 to indicate that ends of months are ignored; the default is 1.
  1692.  
  1693.  
  1694.  
  1695. @MNTHS calculates the number of whole months between StartDate and EndDate. A whole month is the day of the month on which a specified date falls to that same day in the next month, such as March 11 to April 11.
  1696.  
  1697. If the day of the month on which StartDate falls does not exist in the month in which EndDate falls, and EndDate falls on the last day of that month, the number of months returned includes that month. For example, the number of months returned for March 31, 1993 to June 30, 1993 is 3 and not 2.
  1698.  
  1699. If StartDate falls on the last day of a month with less than 31 days, and EndDate precedes StartDate, the result depends on the value of EndMnth; for example, when evaluating the period from February 29, 1992, to January 31, 1992, if EndMnth is 1, -1 is returned; if EndMnth is 0, 0 is returned.
  1700.  
  1701. Examples
  1702.  
  1703. @MNTHS(@DATE(93,4,9),@DATE(94,9,15)) = 17, the number of whole months between April 9, 1993 and September 15, 1994.
  1704.  
  1705. @MNTHS(@DATE(93,4,30),@DATE(93,1,31)) = -3
  1706.  
  1707. @MOD - Modulus (Remainder)
  1708.  
  1709. Syntax
  1710.  
  1711. @MOD(X, Y)
  1712.  
  1713.  
  1714.  
  1715. X    A numeric value.
  1716.  
  1717. Y    A numeric value not equal to 0.
  1718.  
  1719.  
  1720.  
  1721. @MOD divides the X value by Y and returns the remainder, or modulus, value. Because you cannot divide a number by zero, ERR results if the value of Y is zero.
  1722.  
  1723. Examples
  1724.  
  1725. @MOD(3,1) = 0 (3 divided by 1 leaves no remainder)
  1726.  
  1727. @MOD(5,2) = 1 (5 divided by 2 leaves a remainder of 1)
  1728.  
  1729. @MOD(3,1.1) = 0.8
  1730.  
  1731. @MOD(4,0) = ERR
  1732.  
  1733. @MODE - Most Frequent Value
  1734.  
  1735. Syntax
  1736.  
  1737. @MODE(List)
  1738.  
  1739.  
  1740.  
  1741. List    One or more numeric or cell values.
  1742.  
  1743.  
  1744.  
  1745. @MODE returns the value in a sample or population that appears more frequently than any other value. The mode emphasizes data concentration and is best used to describe large data sets. It is commonly used to decide which resulting value is correct when the same measuring or computing process is repeated several times.
  1746.  
  1747. If the data set contains no duplicate data points, @MODE returns NA.
  1748.  
  1749. Examples
  1750.  
  1751. @MODE(2,2,5,7,9,9,9,10,10,11,12,18) = 9
  1752.  
  1753. @MODE(91,87,83,80,86,55,83,68,79,83) = 83
  1754.  
  1755. @MODE(1,2,3,4,5) = NA
  1756.  
  1757. @MODULO - Remainder (Modulus)
  1758.  
  1759. Syntax
  1760.  
  1761. @MODULO(x, y)
  1762.  
  1763.  
  1764.  
  1765. x    Numeric value.
  1766.  
  1767. y    Numeric value, but not 0.
  1768.  
  1769.  
  1770.  
  1771. @MODULO returns the remainder, or modulus, of x/y. @MODULO works like @MOD, with this difference:
  1772.  
  1773. @MODULO uses the formula
  1774.  
  1775. x - y * @ROUNDDOWN(x/y)
  1776.  
  1777. and the sign of the result (+ or -) is always the same as the sign of y.
  1778.  
  1779. @MOD uses the formula
  1780.  
  1781. x - y * @INT(x/y)
  1782.  
  1783. and the sign of the result (+ or -) is always the same as the sign of x.
  1784.  
  1785. If x is 0, @MODULO returns 0.
  1786.  
  1787. Examples
  1788.  
  1789. @MODULO(15,6) = 3
  1790.  
  1791. @MOD(15,6) = 3
  1792.  
  1793. @MODULO(-7,3) = 2
  1794.  
  1795. @MOD(-7,3) = -1
  1796.  
  1797. @MONTH - Month Portion of Date Serial Number
  1798.  
  1799. Syntax
  1800.  
  1801. @MONTH(DateTimeNumber)
  1802.  
  1803.  
  1804.  
  1805. DateTimeNumber    A numeric value between -109571 and 474816.9999999, representing a date/time serial number: -109571 = January 1, 1600; 0 = December 31, 1899; 474816 = December 31, 3199; the decimal = time (24 hr).
  1806.  
  1807.  
  1808.  
  1809. See "Using dates and times in Quattro Pro."
  1810.  
  1811. @MONTH returns the month portion of DateTimeNumber. DateTimeNumber must be a valid date/time serial number. Only the integer portion is used. The result is between 1 (January) and 12 (December).
  1812.  
  1813. To extract the month portion of a string that is in date format (instead of serial format), use @DATEVALUE with @MONTH to translate the date into a serial number. You can also use @DATE to enter a date value instead of a serial number.
  1814.  
  1815. Examples
  1816.  
  1817. @MONTH(69858) = 4
  1818.  
  1819. @MONTH(58494) = 2
  1820.  
  1821. @MONTH(.3773) = 12
  1822.  
  1823. @MONTH(@DATEVALUE("3/5/88")) = 3
  1824.  
  1825. @MONTH(@DATE(88,3,5)) = 3
  1826.  
  1827. @MOD(@MONTH(@DATEVALUE("3/5/88")),12) = 3
  1828.  
  1829. @MROUND - Round to Nearest Multiple
  1830.  
  1831. Syntax
  1832.  
  1833. @MROUND(X, Y)
  1834.  
  1835.  
  1836.  
  1837. X    Value to round.
  1838.  
  1839. Y    Value to make rounded X divisible by.
  1840.  
  1841.  
  1842.  
  1843. @MROUND rounds X to the nearest value that is evenly divisible by Y. If Y is zero, @MROUND returns zero. If X and Y do not have the same sign, @MROUND returns ERR.
  1844.  
  1845. Examples
  1846.  
  1847. @MROUND(2.36,0.25) = 2.25
  1848.  
  1849. @MROUND(2.47,0.25) = 2.5
  1850.  
  1851. @MTGACC - Mortgage Acceleration
  1852.  
  1853. Syntax
  1854.  
  1855. @MTGACC(Int, TtlPer, Principal, Residual, ExtraPrin, <Fper>, <Lper>, <Rper>, <Option>)
  1856.  
  1857.  
  1858.  
  1859. Int    Number │ 0 representing the periodic interest rate.
  1860.  
  1861. TtlPer    Total periods in the loan from start to finish, or the total periods remaining from the chosen starting period forward.
  1862.  
  1863. Principal    Original loan balance; also can be any starting point in the loan.
  1864.  
  1865. Residual    Remaining balance on loan at end of loan term; enter 0 if the loan will be paid in full.
  1866.  
  1867. ExtraPrin    Extra principal amount to be paid each period (must be positive).
  1868.  
  1869. Fper    Number of the first period, relative to the starting point, in which extra principal is paid; the default is 1 (the first period).
  1870.  
  1871. Lper    Number of the last period, relative to the starting point, in which extra principal is paid; the default is until the end of the loan; you can set Lper to any number greater than or equal to the last period number when extra principal payments last the life of the loan (for example, Lper can be 400 for a loan which lasts 360 periods).
  1872.  
  1873. Rper    Period for which the loan status is reported; the default is at loan end (any number greater than the end of the loan defaults to loan end); Rper does not affect the value @MTGACC returns if Option is 0 or 10.
  1874.  
  1875. Option    Specifies the output value type (the default is 0):
  1876.  
  1877. 0 = number of periods to loan end, when balance equals Residual
  1878.  
  1879. 1 = balance of loan at the Rper
  1880.  
  1881. 2 = cumulative interest paid at Rper
  1882.  
  1883. 3 = cumulative principal paid at Rper
  1884.  
  1885. 10 = number of fewer periods in loan life, due to payment of extra principal
  1886.  
  1887. 11 = balance reduction at Rper due to payment of extra principal
  1888.  
  1889. 12 = reduction in cumulative interest paid at Rper due to payment of extra principal
  1890.  
  1891. 13 = increase in cumulative principal paid at Rper due to payment of extra principal
  1892.  
  1893.  
  1894.  
  1895. @MTGACC calculates the effects of paying extra monthly principal for amortized loans. The value that @MTGACC returns depends on the Option you specify. For the specified Rper, you can find the loan balance, cumulative interest, or cumulative principal. You can also find how the number of periods, loan balance, and cumulative interest have been reduced, and how cumulative principal has increased, as a result of paying extra principal.
  1896.  
  1897. @MTGACC returns values for the end of the loan or for the end of any payment period. During calculation, @MTGACC rounds currency values to 2 decimal places, giving currency answers in whole cents, as is common with mortgage institutions.
  1898.  
  1899. You can use @MTGACC to return information about a loan on which you make no extra principal payments (ExtraPrin = 0); for example, @MTGACC returns exact values of the loan balance, cumulative interest paid, and cumulative principal paid.
  1900.  
  1901. Examples
  1902.  
  1903. For a mortgage with a yearly interest rate of 9%, monthly payments for 30 years, an original balance of $150,000, and a future value of $80,000, the following formulas calculate the effects of paying $300 extra principal per month starting at the beginning of the second year and continuing through the fourth year. The reporting period is the tenth year (when the home will be sold and the mortgage paid-off).
  1904.  
  1905. Number of periods to loan end:
  1906.  
  1907. @MTGACC(.09/12,30*12,150000,80000,300,2*12,4*12,10*12,0) = 357
  1908.  
  1909. Balance at Rper:
  1910.  
  1911. @MTGACC(.09/12,30*12,150000,80000,300,2*12,4*12,10*12,1) = $128,635.26
  1912.  
  1913. Cumulative interest paid at Rper:
  1914.  
  1915. @MTGACC(.09/12,30*12,150000,80000,300,2*12,4*12,10*12,2) = $125,724.06
  1916.  
  1917. Cumulative principal paid at Rper:
  1918.  
  1919. @MTGACC(.09/12,30*12,150000,80000,300,2*12,4*12,10*12,3) = $21,364.74
  1920.  
  1921. Number of fewer periods in loan life:
  1922.  
  1923. @MTGACC(.09/12,30*12,150000,80000,300,2*12,4*12,10*12,10) = 3
  1924.  
  1925. Reduction in balance at Rper due to ExtraPrin:
  1926.  
  1927. @MTGACC(.09/12,30*12,150000,80000,300,2*12,4*12,10*12,11) = $13,964.70
  1928.  
  1929. Reduction in cumulative interest paid at Rper due to ExtraPrin:
  1930.  
  1931. @MTGACC(.09/12,30*12,150000,80000,300,2*12,4*12,10*12,12) = $6,464.70
  1932.  
  1933. @MULT - Cumulative Product
  1934.  
  1935. Syntax
  1936.  
  1937. @MULT(List) 
  1938.  
  1939.  
  1940.  
  1941. List    One or more numbers or selections of numbers, separated by commas.
  1942.  
  1943.  
  1944.  
  1945. @MULT calculates the cumulative product of a set of numbers (List). List is a comma separated list of numbers, selections containing numbers, or both. The numbers in this list are multiplied by each other. Blank cells and cells containing strings in any of the selections passed as arguments are given a value of 1.
  1946.  
  1947. Example
  1948.  
  1949. This formula calculates the cumulative product 3.4, 5.7, -1.2, and the numbers shown in the next figure.
  1950.  
  1951. @MULT(A6..C10,3.4,5.7,-1.2) = 30037.32
  1952.  
  1953.  
  1954.  
  1955.     A    B    C
  1956.  
  1957. 6    3.467    0.123    
  1958.  
  1959. 7    134.23    0.034    1.238
  1960.  
  1961. 8    87.65    6.54%    0.987
  1962.  
  1963. 9    -2.35        79.11
  1964.  
  1965. 10    101.93        0.005
  1966.  
  1967. @MULTINOMIAL - Sum of Terms
  1968.  
  1969. Syntax
  1970.  
  1971. @MULTINOMIAL(List)
  1972.  
  1973.  
  1974.  
  1975. List    One or more numbers to calculate multinomial of; each number in List must be │ 0.
  1976.  
  1977.  
  1978.  
  1979. @MULTINOMIAL returns the multinomial of a list of values. It uses this formula for @MULTINOMIAL(a,b,c):
  1980.  
  1981.  
  1982.  
  1983. If any value in List is negative, @MULTINOMIAL returns ERR.
  1984.  
  1985. If any value in List is non-integer, it will be truncated to an integer.
  1986.  
  1987. Example
  1988.  
  1989. @MULTINOMIAL(3,4,5) = 27720
  1990.  
  1991.  
  1992.  
  1993.  
  1994.