Home » Archive

Articles in the Math Functions Category

Excel Functions, Math Functions »

[21 Jun 2009 | No Comment | ]

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))

Excel Functions, Math Functions »

[21 Jun 2009 | No Comment | ]

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

Excel Functions, Math Functions »

[21 Jun 2009 | No Comment | ]

Rand()

This function returns an evenly distributed random number between 0 and 1

Syntax:

= Rand ()

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()

Excel Functions, Math Functions »

[21 Jun 2009 | No Comment | ]

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

Excel Functions, Math Functions »

[21 Jun 2009 | No Comment | ]

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

Excel Functions, Math Functions »

[21 Jun 2009 | No Comment | ]

Odd()

This function returns the nearest ODD number which is – greater than the original number if the original number is positive and lesser than the original number if original number is negative


Syntax:

= Odd (Number)

Number = is the number which is required to be rounded off to nearest odd number


Example:
  • = 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

Math Functions »

[12 Jun 2009 | No Comment | ]

Fact()

This function returns the factorial of a number


Syntax:

= Fact (Number)

Number = The number for which the factorial is required


Example:
  • = 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

Math Functions »

[12 Jun 2009 | No Comment | ]

Int()

This function rounds off the numnber to nearest integer less than the original number


Syntax:

= Int (Number)

Number = The number which is to be rounded off to nearest integer


Example:
  • = 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

Math Functions »

[12 Jun 2009 | No Comment | ]

Exp()

This function returns the result of ‘e‘ raised to the power a given number


Syntax:

= Exp (Number)

Number = is the number which is used as x in the equation e^x


Example:
  • = 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

Math Functions »

[12 Jun 2009 | No Comment | ]
Even()

This function returns the nearest EVEN number which is – greater than the original number if the original number is positive and lesser than the original number if original number is negative


Syntax:

= Even (Number)

Number = is the number which is required to be rounded off to nearest even number


Example:
  • = 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

Math Functions »

[12 Jun 2009 | No Comment | ]
ABS()

This function returns the absolute value of the number


Syntax:

= ABS (Number)

Number = The number for which the absolute value is required


Example:
  • = ABS (20) – result will be – 20
  • = ABS (-20) – result will be – 20