Abacus Functions(1) Abacus Functions(1) Abacus has available the following functions that you can use as complex formulas: Math And Trignometric Functions ------------------------------- ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - ABS SINTAX: @ABS(number) @ABS(Cell) DESCRIPTION: This function returns the absolute value of a given Cell/number. An absolute value of a given number is it's number without it's signal. EXAMPLES: The result of @ABS(-5) equals to 5. The result of @ABS(A1) if Cell A1 contains -5 will be equal to 5. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - ACOS SINTAX: @ACOS(number) @ACOS(Cell) DESCRIPTION: Returns the value of the corresponding inverse trignometric function cosine of the given argument. The arc-cosine is the angle which cosin is the argument. The argument must be a numeric expression in the range of -1<=argument<=1. The returned value is an angle in radians in the range of 0<=returned value <= PI. If conversion should be needed from radians to degrees use the following formula @ACOS(argument)*180/@PI(). EXAMPLES: The result of @ACOS(-0.5) is equal to 2.0943951 ( 2 PI/3 radians) The result of @ACOS(-0.5)*180/@PI() is equal to 120 (degrees) ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - ASIN SINTAX: @ASIN(number) @ASIN(Cell) DESCRIPTION: Returns the value of the corresponding inverse trignometric function sine of the given argument. The arc-sine is the angle which sine is the argument. The argument must be a numeric expression in the range of -1<=argument<=1. The returned value is an angle in radians in the range of -PI/2 <=returned value <= PI/2. If conversion should be needed from radians to degrees use the following formula @ASIN(argument)*180/@PI(). EXAMPLES: The result of @ASIN(-0.5) is equal to -0.5235988 ( -PI/6 radians) The result of @ASIN(-0.5)*180/@PI() is equal to -30 (degrees) ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - ATAN SINTAX: @ATAN(number) @ATAN(Cell) DESCRIPTION: Returns the value of the corresponding inverse trignometric function tangent of the given argument. The arc-tangent is the angle which tanget is the argument. The argument can be any angle you wish. The returned value is an angle in radians in the range of -PI/2 <=returned value <= PI/2. If conversion should be needed from radians to degrees use the following formula @ATAN(argument)*180/@PI(). EXAMPLES: The result of @ATAN(1) is equal to 0.785398 ( PI/4 radians) The result of @ATAN(1)*180/@PI() is equal to 45 (degrees) ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - ATAN2 SINTAX: @ATAN(argument_x , argument_y) argument_x and argument_y can be each one either a number or a Cell. argument_x is the x coordinate of the desired point. argument_y is the y coordinate of the desired point. DESCRIPTION: Returns the angle between the XX radix and the line that contains the Origin (0,0) and the point which is located at the coordinate (argument_x,argument_y). The returned value is an angle in radians in the range of -PI < returned value <= PI. If argument_x and argument_y are 0, ATAN2 will result in "#DIV0!". If conversion should be needed from radians to degrees use the following formula ATAN2(argument_x:argument_y)*180/PI(). EXAMPLES: The result of @ATAN2(1 , 1) is equal to 0.785398 (PI/4 radians). The result of @ATAN2(-1,-1) is equal to -2.35619 (-3 PI/4 radianes). The result of @ATAN2(-1,-1)*180/@PI() is equal to -135(degrees). ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - COS SINTAX: @COS(number) @COS(Cell) DESCRIPTION: Returns the cosine of a given angle. The argument is any radian number. If the angle is in degrees you should use the following convertion formula: @COS(argument*@PI()/180). EXAMPLES: The result of @COS(1.047) is equal to 0.500171. The result of @COS(60*@PI()/180) is equal to 0.5. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - EXP SINTAX: @EXP(number) @EXP(Cell) DESCRIPTION: Returns the value of the exponential function for the argument. e=2,71828182845904 EXP(x)= e^x EXP is the inverse of LN. EXAMPLES: The result of @EXP(1) is equal to 2,718282. The result of @EXP(2) is equal to e^2 = 7,389056. The result of @EXP(@LN(3)) is equal to 3. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - INTF SINTAX: @INTF(argument) argument can either be a cell or a number. DESCRIPTION: Converts a float to an integer. EXAMPLES: The result of @INTF(1.45555) is equal to 1. The result of @INTF(1) is equal to 1. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - LN SINTAX: @LN(number) @LN(Cell) DESCRIPTION: Returns the value of the corresponding Natural logarithm function for the argument. The Natural algorithm are based in e (2,71828182845904). The argument must be > 0. LN is the inverse of EXP. EXAMPLES: @LN(86) is equal to 4,454347. @LN(2,7182818) is equal to 1. @LN(@EXP(3))is equal to 3. @EXP(@LN(4)) is equal to 4. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - LOG SINTAX: @LOG(number) number can be either Cell or number. DESCRIPTION: Returns the value of the corresponding common base 10 logarithm function for the argument. "number" is the number for wich we want to get the logarithm. "number" must be > 0. EXAMPLES: The result of @LOG(10) is equal to 1. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - MOD SINTAX: @MOD(x,y) Each x and y can be either a number or a Cell. DESCRIPTION: Returns the remainder of x divided by y. EXAMPLES: The result of @MOD(3,2) is equal to 1. The result of @MOD(3,-2) is equal to 1. The result of @MOD(-3,2) is equal to -1. The result of @MOD(-3,-2) is equal to -1. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - PI SINTAX: @PI() DESCRIPTION: Returns the value of PI=3.1415926536. EXAMPLES: The result of @PI()/2 is equal to 1.57079. The result of @SIN(@PI()/2) is equal to 1. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - RAND SINTAX: @RAND() DESCRIPTION: Returns a random number (0<=number<=1). EXAMPLES: The result of @RAND()*100 is a random number between 0 and 100. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - ROUND SINTAX: @ROUND(argument , digit) Each argument and digit can be either a number or a Cell. DESCRIPTION: Rounds the argument at the specified digit. digit must be an integer in such that digit>0. EXAMPLES: @ROUND(610,5765383 , 2) produces the result 610.6 . ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - SIN SINTAX: @SIN(number) @SIN(Cell) DESCRIPTION: Returns the sine of a given angle. The argument is any radian number. If the angle is in degrees you should use the following convertion formula: @SIN(argument*@PI()/180). EXAMPLES: The result of @SIN(@PI()) is equal to 0.00000000 . The result of @SIN(@PI()/2) is equal to 1. The result of @SIN(30*@PI()/180) is equal to 0.5. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - SQRT SINTAX: @SQRT(number) @SQRT(Cell) DESCRIPTION: Returns the square root of the argument. in "number" <0 the message #VALUE! should appear. EXAMPLES: The result of @SQRT(25) is equal to 5. The result of @SQRT(-25) is equal to "#VALUE!" message. The result of @SQRT(@ABS(-25)) is equal to 4. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - SUM SINTAX: @SUM(number1,number2,...) @SUM(Cell1:Cell2) DESCRIPTION: Returns the the sum of all numbers of the argument list (number1,number2,...). If the argument is a matrix, every blank cells or with no numeric values inserted are ignored, if there is a contained cell with an error message the result should be an error message. EXAMPLES: The result of @SUM(1,2,3,4) is equal to 10. The result of @SUM(A1:B2), where Cells A1,A2,B1,B2 are each equal to 1, is equal to 4. ----------------------------------------------------------------------------- Math And Trignometric Functions FUNCTION - TAN SINTAX: @TAN(number) @TAN(Cell) DESCRIPTION: Returns the tangent of a given angle. The argument is any radian number. If the angle is in degrees you should use the following convertion formula: @TAN(argument*@PI()/180). EXAMPLES: The result of @TAN(0.523599) is equal to 0.577350. The result of @TAN(45*@PI()/180) is equal to 1. ----------------------------------------------------------------------------- Abacus Functions(1) Abacus Functions(1) Information Functions --------------------- ----------------------------------------------------------------------------- Information Functions FUNCTION - ISERR SINTAX: ISERR(number) ISERR(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Information Functions FUNCTION - ISNA SINTAX: ISNA(number) ISNA(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Information Functions FUNCTION - ISNUMBER SINTAX: ISNUMBER(number) ISNUMBER(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Information Functions FUNCTION - ISSTRING SINTAX: ISSTRING(number) ISSTRING(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Abacus Functions(1) Abacus Functions(1) Logical Functions ----------------- ----------------------------------------------------------------------------- Logical Functions FUNCTION - @IF SINTAX: @IF(logic-test , if-true-value, if-false-value) "logic-test" is any value or expression that can be evaluated as being TRUE or FALSE value. "if-true-value" is the returned value if "logic-test" is TRUE. if "if-true-value" is omited and "logic-test" is TRUE it will be returned 0. "if-false-value" is the returned value if "logic-test" is TRUE. if "if-false-value" is omited and "logic-test" is TRUE it will be returned 0. DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Logical Functions FUNCTION - TRUE SINTAX: @TRUE() DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Logical Functions FUNCTION - FALSE SINTAX: @FALSE() DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Abacus Functions(1) Abacus Functions(1) Date And Time Functions ----------------------- ----------------------------------------------------------------------------- Date And Time Functions FUNCTION - DAY SINTAX: DAY(number) DAY(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Date And Time Functions FUNCTION - HOUR SINTAX: HOUR(number) HOUR(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Date And Time Functions FUNCTION - MINUTE SINTAX: MINUTE(number) MINUTE(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Date And Time Functions FUNCTION - MONTH SINTAX: MONTH(number) MONTH(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Date And Time Functions FUNCTION - SECOND SINTAX: SECOND(number) SECOND(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Date And Time Functions FUNCTION - TIMEVALUE SINTAX: TIMEVALUE(number) TIMEVALUE(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Date And Time Functions FUNCTION - TODAY SINTAX: TODAY(number) TODAY(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Abacus Functions(1) Abacus Functions(1) Text Functions -------------- ----------------------------------------------------------------------------- Text Functions FUNCTION - CHAR SINTAX: CHAR(number) CHAR(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Text Functions FUNCTION - CODE SINTAX: CODE(number) CODE(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Text Functions FUNCTION - LENGTH SINTAX: LENGTH(number) LENGTH(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Text Functions FUNCTION - LOWER SINTAX: LOWER(number) LOWER(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Text Functions FUNCTION - PROPER SINTAX: PROPER(number) PROPER(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Text Functions FUNCTION - STRINGF SINTAX: STRINGF(number) STRINGF(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Text Functions FUNCTION - UPPER SINTAX: UPPER(number) UPPER(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Text Functions FUNCTION - VALUE SINTAX: VALUE(number) VALUE(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Abacus Functions(1) Abacus Functions(1) Statistical Functions --------------------- ----------------------------------------------------------------------------- Statistical Functions FUNCTION - AVG SINTAX: AVG(number) AVG(Cell) DESCRIPTION: EXAMPLES: ----------------------------------------------------------------------------- Statistical Functions FUNCTION - COUNT SINTAX: @COUNT(value1,value2,value3,...) @COUNT(Cell1:Cell2) DESCRIPTION: This function returns the number of elements of the given list of arguments or rangeof cells.Cells which value is either blank or a string or even an error message will not be counted. EXAMPLES: The return value of @COUNT(1,1,1,1,1) is equal to 5. The return value of @COUNT(A1:A5) is 5 if all cells in the range have a value. if there are blank cells each of them counts as 0. for instance if A1=1,A2 and A3 are blank, A4="hello",A5=0, the reurn value will be 2. ----------------------------------------------------------------------------- Statistical Functions FUNCTION - MAX SINTAX: @MAX(value1,value2,value3,...) @MAX(Cell1:Cell2) DESCRIPTION: This function returns the major number included in the given list of arguments or rangeof cells. Cells which value is either blank or a string or even an error message will considered. EXAMPLES: The return value of @MAX(1,4,3,5,4,3,6) is equal to 6. The return value of @MAX(A1:A5) is 5 if all cells in the range have the following values: A1=1,A2 and A3 are blank, A4="hello",A5=5. ----------------------------------------------------------------------------- Statistical Functions FUNCTION - MIN SINTAX: @MIN(value1,value2,value3,...) @MIN(Cell1:Cell2) DESCRIPTION: This function returns the minor number included in the given list of arguments or rangeof cells. Cells which value is either blank or a string or even an error message will considered. EXAMPLES: The return value of @MIN(1,4,3,5,4,3,6) is equal to 6. The return value of @MIN(A1:A5) is 1 if all cells in the range have the following values: A1=1,A2 and A3 are blank, A4="hello",A5=5. -----------------------------------------------------------------------------