Function RandBetween()
Function Rand()
Function Odd()
Function Sign()
Function SQRT()
Function Fact()
Function Int()
Function Exp()
Function Even()
Function ABS()
Functions Count() and Counta()
Function Ceiling()
Function Sumif()
Function Product()
Sunday, June 21, 2009
Function SumSQ()
SumSQ()
This function calculates the sum of squares of the numbers provided as arguments to the function. The arguments provided to this function can be numbers, range of numbers, arrays, etc.
Syntax:
= SumSQ (Number1, Number2, Number…)
Number1, Number2, Number: These are numbers for which sum of squares is to be calculated
Example:
- = SumSQ(1, 2, 3) - result will be - 14
This function does calculation as – ((1*1) + (2*2) + (3*3)) Read more...
Function RandBetween()
RandBetween()
This function returns a random number between a given range of integer numbers
Syntax:
= Randbetween (Bottom_number, Top_number)
Bottom_number: The smallest number that the function will return
Top_number: The largest number that the function will return
Example:
= Randbetween (3,100)
Note: This function is a volatile function, i.e. this function is re-calculated whenever the worksheet gets updated. A heavy use of this function in a workbook can make your workbook calculations slow
Function Rand()
This function returns an evenly distributed random number between 0 and 1
Syntax:
=
Note: This function is a volatile function, i.e. this function is re-calculated whenever the worksheet gets updated. A heavy use of this function in a workbook can make your workbook calculations slow.
In Excel 2007, there is also an advanced version of this function: Randbetween()
Function Odd()
- = Odd (2) - result will be: 3
- = Odd (3) - result will be: 3
- = Odd (5) - result will be: 5
- = Odd (8) - result will be: 9
- = Odd (-2) - result will be: -3
- = Odd (-3) - result will be: -3
- = Odd (-5) - result will be: -5
- = Odd (-8) - result will be: -9
Function Sign()
Sign()
This function is used determine the sign (negative or positive) of a given number. It returns -1 for negative number, 1 for a positive number and, 0 if the number provided is 0
Syntax:
= Sign (Number)
Number: Number for which sign is to be determined
Example:
- = Sign (-21) – result will be: -1
- = Sign (-1) – result will be: -1
- = Sign (21) – result will be: 1
- = Sign (0) – result will be: 0
Function SQRT()
SQRT()
This is a simple function which is used to convert find a square root of a number
Syntax:
= SQRT (Number)
Number_text: Number for which the square root is to be returned
Example:
- = SQRT (4) - result willl be - 2
- = SQRT (49) - result willl be - 7
- = SQRT (11) - result willl be - 121
Saturday, June 13, 2009
Function Fact()
- = Fact (0) - result will be - 1
- = Fact (1) - result will be - 1
- = Fact (2) - result will be - 2
- = Fact (3) - result will be - 6
- = Fact (4) - result will be - 24
- = Fact (5) - result will be - 120
Function Int()
- = Int (5.5) - result will be - 5.0
- = Int (5.0) - result will be - 5.0
- = Int (5.1) - result will be - 5.0
- = Int (5.9) - result will be - 5.0
Function Exp()
- = Exp (0) - result will be: 1.0000
- = Exp (1) - result will be: 2.7183
- = Exp (2) - result will be: 7.3891
- = Exp (3) - result will be: 20.0855
Function Even()
- = Even (2) - result will be: 2
- = Even (3) - result will be: 4
- = Even (5) - result will be: 6
- = Even (8) - result will be: 8
- = Even (-2) - result will be: -2
- = Even (-3) - result will be: -4
- = Even (-5) - result will be: -6
- = Even (-8) - result will be: -8
Function ABS()
- = ABS (20) - result will be - 20
- = ABS (-20) - result will be - 20
Wednesday, May 27, 2009
Functions Count() and Counta()
- =Count(B1:B6) - result will be - 5 {cell B1 is not counted}
- =Count(B2:B6) - result will be - 5 {all cells in the range are numeric}
- =Count(A1:B6) - result will be - 5 {cells with text are ignored}
- =Count(A1:B8) - result will be - 6 {blank cells are also ignored}
- =Count(B1,B2) - result will be - 1
- =Counta(B1:B6) - result will be - 6
- =Counta(B2:B6) - result will be - 5
- =Counta(A1:B6) - result will be - 12
- =Counta(A1:B8) - result will be - 14
- =Counta(B1,B2) - result will be - 2
Tuesday, May 26, 2009
Function Ceiling()
- =Ceiling (26.2315 , 1) result will be - 27
- =Ceiling (26.2315 , 2) result will be - 28
- =Ceiling (26.2315 , 5) result will be - 30
- =Ceiling (27.2315 , 1) result will be - 28
- =Ceiling (27.2315 , 1) result will be - 28
- =Ceiling (27.2315 , 1) result will be - 30