You are on page 1of 4

# Functions:

Mathematical Functions:
Abs() :
It returns the absolute value of the given number i.e. number without its sign.
Syntax: =Abs(Number)
Eg:
=Abs(-89)
==>89
Ceiling():
It increases the given number to the nearest integer to the nearest multiple of
significance.
Syntax: =Ceiling(Number,Significance)
Eg:
=Ceiling(45.56,1)
==> 46
=Ceiling(52,6) ==> 54
Floor():
It decreases the given number to the nearest integer to the nearest multiple of
significance.
Syntax: =Floor(Number, Significance)
=Floor(45.56,1) ==> 45
=Floor(52,6)
==> 48
Fact() :
It returns the factorial of the given number i.e. 1 * 2 * 3 * ......* n.
Syntax: =Fact(Number)
Eg:
=Fact(5)
==> 120
GCD() :
It returns the greatest common divisor.
Syntax: =GCD(Num1,Num2,Num3,....)
Eg:
=GCD(24,48,18) ==> 6
LCM() :
It returns the least common multiplier.
Syntax: =LCM(Num1,Num2,Num3,...)
Eg:
=LCM(4,8,12)
==> 24
Log( ) :
It returns the logirithm value of the given number on the given base.
Syntax: =Log(Number,Base)
Eg:
=Log(4,4)
==> 1
Mod() :
It returns the reminder after dividing a number with a divisor.
Syntax: =Mod(Number,Divisor)
Eg:
=Mod(45,10)
==> 5
Quotient() :
It returns the quotient in a division operation.
Syntax: =Quotient(Number,Divisor)
Eg:
=Quotient(45,10)
==> 4
Power() :
It returns the result of a number raised to its power.
Syntax: =Power(Number,power)
Eg:
=Power(3,4)
==> 81
Product() :
It returns the product after multiplying all the given numbers.
Syntax: =Product(Num1,Num2,Num3,....)

Eg:

=Product(3,5,6) ==> 90

Roman() :
It converts the given number to roman text. The maximum is 3999 only.
Syntax: =Roman(Number)
Ex:
=Roman(7)
==> VII
SQRT( ):
It returns the square root of the given number.
Syntax: =Sqrt(Number)
Eg:
=Sqrt(9)
==> 3
Sum() :
It returns the sum after adding all the given numbers.
Syntax: =Sum(Num1,Num2,Num3,...)
Ex:
=Sum(10,20,30) ==> 60
Sumif( ) :
It adds the numbers that satisfy the given condition in the range.
Syntax: =Sumif(Range,"condition")
Eg:
=Sumif(A1:A10,"<50")
Trunc() :
It truncates the given number to the specified number of digits after decimal po
int.
Syntax: =Trunc(Number,num_digits)
Ex:
=Trunc(56.847423,3)
==> 56.847
Text Functions:
Char() :
it returns the character represented by an integer number.
Syntax: =Char(Number)
Eg:
=Char(65)
==> A
Code() :
It returns the integer code of the given character.
Syntax: =Code(Character)
Ex:
=Code("A")
==> 65
Concatenate():
It combines two or more text strings into single string.
Syntax: =Concatenate(Text1, Text2, Text3, ....)
Eg:
=Concatenate("Pace ","Computers")
===> Pace Computers
Exact( ):
it compares two text strings and returns TRUE if both text strings are exactly s
ame, Otherwise returns FALSE.
Syntax: =Exact(Text1,Text2)
Eg:
=Exact("Computer","Computer") ==> TRUE
Left( ):
It returns the first or specified number of characters from left side.
Syntax: =Left(Text,num_chars)
Eg:
=Left("Computer",3)
==> Com
Right() :
It returns the last or specifief number of characters from the right side.
Syntax: =Right(Text,num_chars)
Ex:
=Right("Computer",3)
==> ter

Len( ):
It returns the number of characters in the given text.
Syntax: =Len(Text)
Eg:
=Len("Computer")
===> 8
Lower() :
It converts all the characters of the given text to lower case.
Syntax: =Lower(Text)
Eg:
=Lower("COMPUTER")
==> computer
Upper( ):
It converts all the characters of the given text to upper case.
Syntax: =Upper(Text)
Eg:
=Upper("computer")
==> COMPUTER
Statistical Functions:
Average():
It returns the average (arithmetic mean) of the given numbers.
Syntax: =Average(Num1,Num2,Num3,...)
Eg:
=Average(40,60,80)
==> 60
Count() :
It counts the number of cells that contains a number.
Syntax: =Count(Range)
Eg:
=Count(A1:A10)
CountA():
It counts the number of cells that contains a value.
Syntax: =CountA(Range)
Eg:
=CountA(A1:A10)
CountBlank():
It counts the number of cells that are empty.
Syntax: =CountBlank(Range)
Eg:
=CountBlank(A1:A10)
CountIf( ):
It counts the number of cells that satisfy the given condition.
Syntax: =CountIf(Range,"Condition")
Eg:
=CountIf(A1:A10,"<50")
Max() :
It returns the maximum value in the given range.
Syntax: =Max(Range)
Eg:
=Max(A1:A10)
Min() :
It returns the minimum value in the given range.
Syntax: =Min(Range)
Eg:
=Min(A1:A10)
Large():
It returns the number at specified position when arranged from largest to smalle
st.
Syntax: =Large(Range,Position)
Eg:
=Large(A1:A10,3)
Small() :
It returns the number at specified position when arranged from smallest to large
st.

Syntax: =Small(Range,Position)
Eg:
=Small(A1:A10,4)
Rank() :
It returns the position of the given number in a set of numbers.
Syntax: =Rank(Number,Range)
Date and Time:
Today() :
It returns the current system date.
Syntax: =Today()
Now() :
It returns the current system date and time.
Syntax: =Now()
Weekday() :
It returns the day of the week of the given date.
Syntax: =Weekday(date)
Eg:
=Weekday(Today())