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

  1. @QUARTILE - Quartile
  2.  
  3. Syntax
  4.  
  5. @QUARTILE(Array, X)
  6.  
  7.  
  8.  
  9. Array    A numeric array or cells of values.
  10.  
  11. X    Number signifying what quartile value to return:
  12.  
  13. 0 = minimum value in Array
  14.  
  15. 1 = 25th percentile
  16.  
  17. 2 = 50th percentile (median)
  18.  
  19. 3 = 75th percentile
  20.  
  21. 4 = maximum value in Array
  22.  
  23.  
  24.  
  25. @QUARTILE returns a number from Array at the quartile indicated by X. You create quartiles of a data set by partitioning the values into four groups containing an equal number of values.
  26.  
  27. If the quartile falls between two discrete values in the list, a fractional value is determined using linear interpolation.
  28.  
  29. Examples
  30.  
  31. @QUARTILE({4,5,7,9,10,12,13,16},0) = 4
  32.  
  33. @QUARTILE({4,5,7,9,10,12,13,16},1) = 6.5
  34.  
  35. @QUARTILE({4,5,7,9,10,12,13,16},2) = 9.5
  36.  
  37. @QUARTILE({4,5,7,9,10,12,13,16},3) = 12.25
  38.  
  39. @QUARTILE({4,5,7,9,10,12,13,16},4) = 16
  40.  
  41. @QUOTIENT - Integer Portion of Quotient
  42.  
  43. Syntax
  44.  
  45. @QUOTIENT(X, Y)
  46.  
  47.  
  48.  
  49. X    Value to divide.
  50.  
  51. Y    Nonzero value to divide x by.
  52.  
  53.  
  54.  
  55. @QUOTIENT is similar to @INT; it returns the integer portion of X/Y. If Y is zero, @QUOTIENT returns ERR.
  56.  
  57. Example
  58.  
  59. @QUOTIENT(7,2) = 3
  60.  
  61. @RADIANS - Convert Degrees to Radians
  62.  
  63. Syntax
  64.  
  65. @RADIANS(X)
  66.  
  67.  
  68.  
  69. X    A numeric value representing degrees. Choose a numeric value in the range between -1.698E+308 to 1.085E+308 (approximately).
  70.  
  71.  
  72.  
  73. @RADIANS converts the given number of degrees to radians. It uses this formula:
  74.  
  75. pi times X divided by 180
  76.  
  77. One degree is equal to approximately 0.017 radians.
  78.  
  79. Examples
  80.  
  81. @RADIANS(1) = 0.017453 
  82.  
  83. @RADIANS(57) = 0.994838 
  84.  
  85. @RADIANS(@DEGREES(3.5)) = 3.5 
  86.  
  87. @RADIANS(A4) = 0.994838 (where cell A4 contains the value 57) 
  88.  
  89. @RAND - Fractional Random Number
  90.  
  91. Syntax
  92.  
  93. @RAND
  94.  
  95. @RAND returns a fractional random number between 0 and 1. This offers a sampling of figures, useful for generating sample data for simulated situations.
  96.  
  97. To generate random numbers in another range, multiply @RAND by the difference between the new high and low ends, then add the new low end number. The formula is @RAND * (high number - low number) + low number.
  98.  
  99. For example, to indicate a range of 10 to 100, enter @RAND*90+10. This extends the upper limit to 100 and the lower limit to 10.
  100.  
  101. @RAND generates a new random number with each recalculation.
  102.  
  103. Examples
  104.  
  105. @RAND = a random number between 0 and 1 
  106.  
  107. @RAND*9+1 = a random number between 1 and 10 
  108.  
  109. @RAND*1000 = a random number between 0 and 1000 
  110.  
  111. @RAND+5 = a random number between 5 and 6 
  112.  
  113. -@INT(@RAND*90+10) = a random integer between -10 and -100 
  114.  
  115. @RANDBETWEEN - Random Number Between N and M
  116.  
  117. Syntax
  118.  
  119. @RANDBETWEEN(N, M)
  120.  
  121.  
  122.  
  123. N    Integer value that random number must be greater than or equal to.
  124.  
  125. M    Integer value that random number must be less than or equal to.
  126.  
  127.  
  128.  
  129. @RANDBETWEEN returns a random number between N and M using a uniform distribution. @RANDBETWEEN returns a new random number each time you recalculate a notebook.
  130.  
  131. @RANK - Rank of Number in List
  132.  
  133. Syntax
  134.  
  135. @RANK(Number, Array, Order)
  136.  
  137.  
  138.  
  139. Number    A number from Array.
  140.  
  141. Array    One or more numeric or cell values.
  142.  
  143. Order    Flag indicating how to sort the list of numbers: any nonzero value = ascending order; 0 = descending order.
  144.  
  145.  
  146.  
  147. @RANK returns the rank of Number in Array in either ascending or descending order.
  148.  
  149. Examples
  150.  
  151. Theses examples refer to the next figure.
  152.  
  153. @RANK(B6,B2..B10,0) = 1
  154.  
  155. @RANK(B2,B2..B10,1) = 3
  156.  
  157. @RANK(B9,B2..B10,1) = 1
  158.  
  159.  
  160.  
  161.     A    B
  162.  
  163. 1        
  164.  
  165. 2    HJ    117
  166.  
  167. 3    MW    122
  168.  
  169. 4    KM    125
  170.  
  171. 5    WC    109
  172.  
  173. 6    AD    137
  174.  
  175. 7    MS    119
  176.  
  177. 8    DP    125
  178.  
  179. 9    MS    106
  180.  
  181. 10    DM    121
  182.  
  183. @RATE - Interest Rate per Period
  184.  
  185. Syntax
  186.  
  187. @RATE(Fv, Pv, Nper)
  188.  
  189.  
  190.  
  191. Fv    A numeric value representing the future value of an investment (the value the investment will reach at some point).
  192.  
  193. Pv    A numeric value representing the current value of an investment (the present value).
  194.  
  195. Nper    A numeric value > 0, representing the number of periods of the loan (the number of payments to be made) or investment (the number of compounding periods).
  196.  
  197.  
  198.  
  199. @RATE calculates the interest rate required for an investment of Pv to be worth Fv within Nper compounding periods. If Nper represents years, an annual interest rate results; if Nper represents months, a monthly interest rate results, and so on.
  200.  
  201. @RATE uses this formula to calculate interest rate:
  202.  
  203.  
  204.  
  205. where
  206.  
  207.  
  208.  
  209. Fv     future value
  210.  
  211. Pv    present value
  212.  
  213. N    number of periods
  214.  
  215.  
  216.  
  217. An equivalent for this formula using @IRATE is
  218.  
  219. @IRATE(Nper, 0, - Pv, Fv)
  220.  
  221. @RATE assumes the investment is an ordinary annuity. The related @function @IRATE lets you use an optional argument, Type, to indicate whether the investment is an ordinary annuity or an annuity due.
  222.  
  223. Examples
  224.  
  225. This formula determines what yearly interest rate will double an initial investment of $2000 at the end of 10 years:
  226.  
  227. @RATE(4000,2000,10) = 7.18%
  228.  
  229. Other examples:
  230.  
  231. @RATE(10000,7000,6*12) = 0.50% (monthly) 
  232.  
  233. @RATE(1200,1000,3) = 6.27% (yearly) 
  234.  
  235. @RATE(500,100,25) = 6.65% (yearly) 
  236.  
  237. @RECEIVED - Redemption Value of a Bill
  238.  
  239. Syntax
  240.  
  241. @RECEIVED(Settle, Maturity, Investment, Discount, <Calendar>)
  242.  
  243.  
  244.  
  245. Settle     Number representing the settlement date; must be < Maturity.
  246.  
  247. Maturity    Number representing the maturity date; must be > Settle.
  248.  
  249. Investment    Amount invested; must be m 0.
  250.  
  251. Discount    Rate of discount; 0 ú Discount ú 1.
  252.  
  253. Calendar    Flag specifying which calendar to observe (0 = 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365; the default is 0).
  254.  
  255.  
  256.  
  257. @RECEIVED returns the redemption value (the amount received after maturity) of a discount security. @RECEIVED uses this formula:
  258.  
  259.  
  260.  
  261.  
  262.  
  263. R    redemption
  264.  
  265. I    investment
  266.  
  267. D    discount
  268.  
  269. M    maturity
  270.  
  271. S    settle
  272.  
  273. b    basis
  274.  
  275.  
  276.  
  277. tb is the number of days over which the discount rate quote applies (360 or 365).
  278.  
  279. Example
  280.  
  281. This formula calculates the redemption value of a bill with the following terms: Settle is January 17, 1995, Maturity is June 15, 1995, Investment is $1,000,000, Discount is 7.922%, and Calendar is 2 (actual/360).
  282.  
  283. @RECEIVED(@DATE(95,1,17),@DATE(95,6,15),1000000,0.07922,2) = $1,033,899.79
  284.  
  285. @REGRESSION - Multiple Linear Regression
  286.  
  287. Syntax
  288.  
  289. @REGRESSION(XBlock, YBlock, Attribute, <Compute>)
  290.  
  291.  
  292.  
  293. XBlock    Name or address of cell containing independent variables; can be up to 75 columns and 8,192 rows.
  294.  
  295. YBlock    Name or address of cells containing dependent variable; must be a single-column selection with the same number of rows as XBlock.
  296.  
  297. Attribute    Specifies the type of regression value returned. Valid attributes are 1, 2, 3, 4, 5, 101 to 175, or 201 to 275; see the table for the type of regression value returned for each attribute value.
  298.  
  299. Compute    Logical value (optional) that tells @REGRESSION whether to force the Y intercept to equal 0:
  300.  
  301. 0 = make the Y intercept 0
  302.  
  303. 1 = calculate the Y intercept (default if you omit the argument)
  304.  
  305.  
  306.  
  307. @REGRESSION performs a multiple linear regression, returning the specified statistic. Choose Attribute arguments from this table:
  308.  
  309.  
  310.  
  311. Attribute    Regression Value Returned
  312.  
  313. 1    Constant
  314.  
  315. 2    Standard error of Y estimate
  316.  
  317. 3    R squared
  318.  
  319. 4    Number of observations
  320.  
  321. 5    Degrees of freedom
  322.  
  323. 101 to 175    Slope, or X coefficient for the independent variable specified by Attribute
  324.  
  325. 201 to 275    Standard error of the coefficient for the independent variable specified by Attribute
  326.  
  327.  
  328.  
  329. For the last two attributes, Quattro Pro numbers the independent variables in XBlock, starting with 1, from top to bottom in a column and from left to right. For example, if XBlock is B2..D7, use Attribute = 102 to find the X-coefficient for the independent variable in column C. Use Attribute = 201 to find the standard error of coefficient for the independent variable in column B.
  330.  
  331. Example
  332.  
  333. In trying to lower employee absenteeism, you suspect sick days correlate directly with outdoor temperatures and deadline pressure. You assemble data for the first Monday of the month over a six-month period:
  334.  
  335.  
  336.  
  337.     A    B    C    D    E
  338.  
  339. 1    % absent    Date    Due date    Days left    9 a.m. temp.
  340.  
  341. 2    14%    12/04/95    04/01/96    119    17
  342.  
  343. 3    22%    01/02/96    04/01/96    90    10
  344.  
  345. 4    32%    02/05/96    04/01/96    56    20
  346.  
  347. 5    48%    03/04/96    04/01/96    28    35
  348.  
  349. 6    2%    04/01/96    11/03/96    216    52
  350.  
  351. 7    18%    05/06/96    11/03/96    181    55
  352.  
  353.  
  354.  
  355. *This January, "Monday" comes on Tuesday, the day after New Year's Day.
  356.  
  357. To find values for R squared:
  358.  
  359. @REGRESSION(D2..D7, A2..A7, 3) = 0.811862, fairly close to 1, indicating a fair correlation between absenteeism and deadlines.
  360.  
  361. @REGRESSION(E2..E7, A2..A7, 3) = 0.075683, much closer to 0, indicating little relation between absenteeism and weather.
  362.  
  363. @REPEAT - Repeat Copies of a String
  364.  
  365. Syntax
  366.  
  367. @REPEAT(String, Num)
  368.  
  369.  
  370.  
  371. String    A string value.
  372.  
  373. Num    A numeric value equal to or greater than 0.
  374.  
  375.  
  376.  
  377. @REPEAT returns Num copies of String as one continuous label. This @function is similar to the repeating label prefix (\) in that it repeats one or more characters. The difference is that you can specify exactly how many times you want the string to be repeated. The \ label prefix adjusts the display to fill the column, even when the width is changed. @REPEAT displays a fixed number of copies of String and does not change.
  378.  
  379. When you specify a text string with @REPEAT, it must be enclosed by double quotes.
  380.  
  381. Examples
  382.  
  383. @REPEAT("-",20) =  -------------------- 
  384.  
  385. @REPEAT("good day!",3) = good day!good day!good day! 
  386.  
  387. @REPEAT(A5,5) = the contents of A5 repeated 5 times 
  388.  
  389. @REPEAT("-",@CELL("width",A1..A1)) = ------------  if column A is 12 characters wide. If you change the column width, you can press F9 to adjust the repeat string to fill the cell. 
  390.  
  391. @REPLACE - Replace Characters in a String
  392.  
  393. Syntax
  394.  
  395. @REPLACE(Original String, Starting Position, Chars to Replace, New String)
  396.  
  397.  
  398.  
  399. Original String    A valid string value, representing the text to operate on.
  400.  
  401. Starting Position    A numeric value equal to or greater than 0, representing the character position to begin with.
  402.  
  403. Chars to Replace    A numeric value equal to or greater than 0, representing the number of characters to delete.
  404.  
  405. New String    A string value, representing the characters to insert at position Num.
  406.  
  407.  
  408.  
  409. @REPLACE lets you replace characters in text with a new text string. It searches through the Original String from left to right beginning with the first character (character 0) until it reaches character position specified by Starting Position. Then it removes the number of characters from the string specified by Chars to Replace, replacing them with the New String.
  410.  
  411. Both the Original String and the New String can be either cell references or text strings. If text strings, they must be enclosed by double quotes.
  412.  
  413. To replace one string with another, specify 0 as the Starting Position. For Chars to Replace, enter a number equal to or greater than the number of characters in the Original String.
  414.  
  415. To insert one string into another string, specify 0 as the Chars to Replace.
  416.  
  417. To add one string to the end of another, specify as Starting Position a number one greater than the number of characters in the Original String.
  418.  
  419. To delete part or all of a string, specify "" as the New String.
  420.  
  421. Examples
  422.  
  423. @REPLACE("McDougal Corp.",2,6,"Douglas") = McDouglas Corp. 
  424.  
  425. @REPLACE("Leslie J. Cooper",7,3,"") = Leslie Cooper 
  426.  
  427. @REPLACE("Sales Salaries",6,0, "Reps' ") = Sales Reps' Salaries (There must be a space between Reps and the final quotation mark.) 
  428.  
  429. @REPLACE("355 Howard",11,0," St.") = 355 Howard St. (There must be a space between " and St.) 
  430.  
  431. You can use @REPLACE with other string functions. For instance, to replace one word with another within a sentence, you can use @FIND and @LENGTH to simplify the search-and-replace operation. For example,
  432.  
  433. @REPLACE(A7,@FIND("man",A7,0),@LENGTH(   "man"),"person")
  434.  
  435. searches through A7 for man, then replaces man with person. 
  436.  
  437. @RIGHT - Rightmost Characters
  438.  
  439. Syntax
  440.  
  441. @RIGHT(String, Num)
  442.  
  443.  
  444.  
  445. String    A string value.
  446.  
  447. Num    A numeric value │ 0.
  448.  
  449.  
  450.  
  451. @RIGHT returns Num characters of String counting from right to left. It extracts a specified number of characters from the right side of a string or label.
  452.  
  453. If String is a not a valid string, @RIGHT returns ERR. If Num is 0, the result is "", or an empty string. If Num is greater than or equal to the number of characters in String, the entire string is returned.
  454.  
  455. Examples
  456.  
  457. @RIGHT("Jennifer Meyer",5) = Meyer 
  458.  
  459. @RIGHT("Jennifer Meyer",25) = Jennifer Meyer 
  460.  
  461. @RIGHT("Jennifer   ",6) = fer    (including 3 subsequent spaces) 
  462.  
  463. @RIGHT("155",1) = 5 
  464.  
  465. @RIGHT(123,1) = ERR (123 is a value) 
  466.  
  467. @RIGHT(A10,5) = the last five characters of A10 
  468.  
  469. @RIGHT(A16,@LENGTH(A16) - @FIND("Roosevelt",A16,0)) = Roosevelt (if A16 = Theodore Roosevelt) 
  470.  
  471. @ROMAN - Arabic Numeral to Roman Numeral
  472.  
  473. Syntax
  474.  
  475. @ROMAN(Number, <Form>)
  476.  
  477.  
  478.  
  479. Number    Arabic numeral.
  480.  
  481. Form    Style of Roman numeral, ranging from full classic to brief, becoming more concise as the value of Form increases:
  482.  
  483. FALSE (0) = Classic; default, if omitted
  484.  
  485. TRUE (1) = More concise
  486.  
  487. 2 = More concise
  488.  
  489. 3 = More concise
  490.  
  491. 4 = Most concise
  492.  
  493.  
  494.  
  495. @ROMAN returns the Roman numeral corresponding to a specified Arabic numeral, displaying it as text.
  496.  
  497. @ROMAN returns ERR if Number is negative or greater than 3999.
  498.  
  499. Examples
  500.  
  501. @ROMAN(1999) = MCMXCIX (classic)
  502.  
  503. @ROMAN(1999,FALSE) = MCMXCIX
  504.  
  505. @ROMAN(1999,0) = MCMXCIX
  506.  
  507. @ROMAN(1999,TRUE) = MLMVLIV
  508.  
  509. @ROMAN(1999,1) = MLMVLIV
  510.  
  511. @ROMAN(1999,2) = MXMIX
  512.  
  513. @ROMAN(1999,3) = MVMIV
  514.  
  515. @ROMAN(1999,4) = MIM
  516.  
  517. @ROOTN - Nth Root of a Number
  518.  
  519. Syntax
  520.  
  521. @ROOTN(Number, Root)
  522.  
  523.  
  524.  
  525. Number    Number; can be positive or negative.
  526.  
  527. Root    Number, not zero.
  528.  
  529.  
  530.  
  531. @ROOTN calculates the nth root of a specified number. @ROOTN returns ERR if N=0.
  532.  
  533. Examples
  534.  
  535. @ROOTN(27,3) = 3
  536.  
  537. @ROOTN(64,2) = 8
  538.  
  539. @ROUND
  540.  
  541. Syntax
  542.  
  543. @ROUND(X, Num)
  544.  
  545.  
  546.  
  547. X    A numeric value.
  548.  
  549. Num    A numeric value between -15 and 15.
  550.  
  551.  
  552.  
  553. @ROUND adjusts the precision of X to Num decimal places. Num specifies the power of 10 to which X is rounded. If Num is positive, X is rounded Num digits to the right of the decimal point. If Num is negative, X is rounded Num digits to the left of the decimal point. For example, if Num is -3, X is rounded to the nearest thousand.
  554.  
  555. If Num is 0, X is rounded to an integer. If Num is not an integer, it is truncated to an integer.
  556.  
  557. Examples
  558.  
  559. @ROUND(12345.54321,0) = 12346 
  560.  
  561. @ROUND(12345.54321,2) = 12345.54 
  562.  
  563. @ROUND(12345.54321,-2) = 12300
  564.  
  565. @ROUNDDOWN - Round Number Down
  566.  
  567. Syntax
  568.  
  569. @ROUNDDOWN(X, <Digits>, <Direction>)
  570.  
  571.  
  572.  
  573. X    Number to round down.
  574.  
  575. Digits    Number of digits (optional) to which you want to round X.
  576.  
  577. Direction    Argument (optional) specifying how to round negative values:
  578.  
  579. 0 = round negative values down; default if omitted
  580.  
  581. 1 = round negative values up
  582.  
  583.  
  584.  
  585. @ROUNDDOWN rounds a positive number down with a specified precision and rounds a negative number the direction you specify. @ROUNDDOWN behaves like @ROUND, except that it always rounds a number down.
  586.  
  587.   If Digits is positive, X is rounded down to Digits decimal places.
  588.   
  589.   If Digits is negative, X is rounded down to the nearest multiple of the power of 10 specified by Digits.
  590.   
  591.   If Digits is 0 or omitted, X is rounded down to the nearest integer.
  592.   
  593.   If X is positive, Direction has no effect.
  594.   
  595. Use the Fixed numeric format to display values with a specified number of decimal places if you want to calculate the values to their full precision; do not use @ROUNDDOWN. Quattro Pro stores a maximum of 15 digits.
  596.  
  597. Examples
  598.  
  599. @ROUNDDOWN(1234.5678) = 1234
  600.  
  601. @ROUNDDOWN(1234.5678,2) = 1234.56
  602.  
  603. @ROUNDDOWN(1234.5678,-2) = 1200
  604.  
  605. @ROUNDDOWN(-1234.5678) = -1235
  606.  
  607. @ROUNDDOWN(-1234.5678,0,1) = -1234
  608.  
  609. @ROUNDDOWNXL - Round Number Down
  610.  
  611. Syntax
  612.  
  613. @ROUNDDOWNXL(X, <Digits>)
  614.  
  615.  
  616.  
  617. X    Number to round down.
  618.  
  619. Digits    Number of digits to which you want to round X.
  620.  
  621.  
  622.  
  623. @ROUNDDOWNXL rounds positive and negative numbers toward zero.
  624.  
  625.   If Digits is positive, X is rounded down to Digits decimal places.
  626.   
  627.   If Digits is negative, X is rounded down to the nearest multiple of the power of 10 specified by Digits.
  628.   
  629.   If Digits is 0 or omitted, then X is rounded down to the nearest integer.
  630.   
  631.   Rounding is always to a lower absolute value, regardless of sign.
  632.   
  633. Examples
  634.  
  635. @ROUNDDOWNXL(1234.5678,0) = 1234
  636.  
  637. @ROUNDDOWNXL(1234.5678,2) = 1234.56
  638.  
  639. @ROUNDDOWNXL(1234.5678,-2) = 1200
  640.  
  641. @ROUNDDOWNXL(-1234.5678,0) = -1234
  642.  
  643. By contrast, @ROUNDDOWN rounds negative numbers down, if you omit its Direction argument:
  644.  
  645. @ROUNDDOWN(-1234.5678,0) = -1235
  646.  
  647. @ROUNDUP - Round Number Up
  648.  
  649. Syntax
  650.  
  651. @ROUNDUP(X, <Digits>, <Direction>)
  652.  
  653.  
  654.  
  655. X    Number to round up.
  656.  
  657. Digits    Number of digits (optional) to which you want to round X.
  658.  
  659. Direction    Argument (optional) specifying how to round negative values:
  660.  
  661. 0 = round negative values up; default if omitted
  662.  
  663. 1 = round negative values down
  664.  
  665.  
  666.  
  667. @ROUNDUP rounds a positive number up with a specified precision and rounds a negative number the direction you specify. @ROUNDUP behaves like @ROUND, except that it always rounds a number up.
  668.  
  669.   If Digits is positive, X is rounded up to Digits decimal places.
  670.   
  671.   If Digits is negative, X is rounded up to the nearest multiple of the power of 10 specified by Digits.
  672.   
  673.   If Digits is 0 or omitted, X is rounded up to the nearest integer.
  674.   
  675.   If X is positive, Direction has no effect.
  676.   
  677. Use the Fixed numeric format to display values with a specified number of decimal places if you want to calculate the values to their full precision; do not use @ROUNDUP. Quattro Pro stores a maximum of 15 digits.
  678.  
  679. Examples
  680.  
  681. @ROUNDUP(1234.5678) = 1235
  682.  
  683. @ROUNDUP(1234.5678,2) = 1234.57
  684.  
  685. @ROUNDUP(1234.5678,-2) = 1300
  686.  
  687. @ROUNDUP(-1234.5678) = -1234
  688.  
  689. @ROUNDUP(-1234.5678,0,1) = -1235
  690.  
  691. @ROUNDUPXL - Round Number Up
  692.  
  693. Syntax
  694.  
  695. @ROUNDUPXL(X, <Digits>)
  696.  
  697.  
  698.  
  699. X    Number to round up.
  700.  
  701. Digits    Number of digits to which you want to round X.
  702.  
  703.  
  704.  
  705. @ROUNDUPXL rounds a positive number upward and rounds a negative number toward zero.
  706.  
  707.   If Digits is positive, X is rounded up to Digits decimal places.
  708.   
  709.   If Digits is negative, X is rounded up to the nearest multiple of the power of 10 specified by Digits.
  710.   
  711.   If Digits is 0 or omitted, then X is rounded up to the nearest integer.
  712.   
  713.   Rounding is always to a higher absolute value, regardless of sign.
  714.   
  715. Examples
  716.  
  717. @ROUNDUPXL(1234.5678,0) = 1235
  718.  
  719. @ROUNDUPXL(1234.5678,2) = 1234.57
  720.  
  721. @ROUNDUPXL(1234.5678,-2) = 1300
  722.  
  723. @ROUNDUPXL(-1234.5678,0) = -1235
  724.  
  725. By contrast, @ROUNDUP rounds negative numbers up, if you omit its Direction argument:
  726.  
  727. @ROUNDUP(-1234.5678,0) = -1234
  728.  
  729. @ROW - Row Number
  730.  
  731. Syntax
  732.  
  733. @ROW(<Block>)
  734.  
  735.  
  736.  
  737. Block    The cell or cells for which you want the row number(s).
  738.  
  739.  
  740.  
  741. @ROW returns the row number(s) for a cell or cells.
  742.  
  743.   Block can be a cell name.
  744.   
  745.   If you omit Block, Quattro Pro assumes you want the row number of the cell where you entered @ROW.
  746.   
  747.   Block cannot refer to non-contiguous areas.
  748.   
  749. Examples
  750.  
  751. @ROW(A5..F5) = 5
  752.  
  753. @ROW(K1..M5) = {1| 2| 3| 4| 5}
  754.  
  755. If A12.. F12 is a selection named GIFTS, @ROW(GIFTS) = 12
  756.  
  757. Entered in C4 without an argument, @ROW = 4
  758.  
  759. @ROWS
  760.  
  761. Syntax
  762.  
  763. @ROWS(Block)
  764.  
  765.  
  766.  
  767. Block    Cell reference or name.
  768.  
  769.  
  770.  
  771. @ROWS returns the number of rows within the specified cells.
  772.  
  773. Examples
  774.  
  775. @ROWS(A1..A1) = 1 
  776.  
  777. @ROWS(A1..C15) = 15 
  778.  
  779. @ROWS(B100..B8192) = 8093 
  780.  
  781. @ROWS(NAME) = 30 (if the cell NAME contains 30 rows)
  782.  
  783. @RSQ - r-Squared Value of Linear Regression
  784.  
  785. Syntax
  786.  
  787. @RSQ(KnownX, KnownY)
  788.  
  789.  
  790.  
  791. KnownX    Independent range of values.
  792.  
  793. KnownY    Dependent range of values.
  794.  
  795.  
  796.  
  797. @RSQ returns r squared, the square of the Pearson product moment correlation coefficient. KnownX and KnownY must have the same number of values. Use @RSQ to test the linear relationship of KnownX and KnownY and to show the proportion of the variance of KnownY that can be attributed to a variance in KnownX. The  statistic measures the fraction of the variance explained by the regression equation.
  798.  
  799. Example
  800.  
  801. @RSQ({7,8,5,9,7,2},{10,5,4,9,6,7}) = 0.063962
  802.  
  803.  
  804.  
  805.  
  806.