Professional Documents
Culture Documents
Microsoft Excel-2007
Function
Sanskar Computers Software &Training Center
Created By
Sankalp Kumar Singh
B.A. & P.G.D.C.A
EXCEL FUNCTION
MATH AND TRIGONOMETRY FUNCTIONS
ABS Function:- Returns the absolute value of a number. The absolute value of a number is the number
without its sign.
Syntax:=ABS(NUMBER)
Ex.:=ABS(-2) Absolute value is (2)
EVEN Function:- Returns number rounded up to the nearest even integer.
Syntax:=EVEN(NUMBER)
Ex.:=EVEN(3) Rounds 3 up to the nearest even integer (4).
ODD Function:- Returns number rounded up to the nearest odd integer.
Syntax:=ODD(NUMBER)
Ex.:=ODD(4) Rounds 4 up to the nearest odd integer (5).
FACT Function:- Returns the factorial of a number. The factorial of a number is equal to 1*2*3*...* number.
Syntax:=FACT(NUMBER)
Ex.:=FACT(5) Factorial of (120).
LCM Function:- Returns the least common multiple of integers.
Syntax:=LCM(NUMBER1, [NUMBER2].)
Ex.:=LCM(5,2) Least common multiple of 5 and 2 (10).
=LCM(24,36) Least common multiple of 24 and 36 (72).
MOD Function:- Returns the remainder after number is divided by divisor.
Syntax:=MOD(NUMBER1, divisor)
Ex.:=MOD(3,2) Remainder of 3/2 (1).
POWER Function:- Returns the result of a number raised to a power.
Syntax:=POWER(NUMBER, POWER)
Ex.:=POWER(3,2) 3 Squared (6).
PRODUCT Function:- The PRODUCT function multiplies all the numbers given as arguments and returns
the product.
Syntax:=PRODUCT(NUMBER1, [NUMBER2],)
Ex.:=PRODUCT(15,3) Multiplies the number in 15 *3.(45).
ROUNDDOWN Function:- Rounds a number down, toward zero.
Syntax:=ROUNDDOWN(NUMBER, NUM_DIGITS)
Ex.:=ROUNDDOWN(35.362,2) Round 35.362 down to 2 decimal place (35.36)
SQRT Function:- Returns a positive square root.
Syntax:=SQRT(NUMBER)
Ex.:=SQRT(36) Square root of 36 (6).
SUM Function:- The SUM function adds all the numbers that you specify as arguments.
Syntax:=SUM(NUMBER1,NUMBER2,)
Ex.:=SUM(3,4,2) Adds 3,4 and 2. (9).
SUMIF Function:- You use the SUMIF function to sum the values in a range that meet criteria that you
specify.
Syntax:=SUMIF(range, criteria, [sum_range])
Created by:- Sankalp Kumar Singh At works From J J Infotech Computer Institute ,Pratapgarh
STATISTICAL FUNCTIONS
AVERAGE Function:- Returns the average (arithmetic mean) of the arguments.
Syntax:=AVERAGE(number1, [number2], ...)
Ex.:=AVERAGE(5,4,1,3,2) Average of the number in 15/5 (3).
COUNT Function:- The COUNT function counts the number of cells that contain numbers, and counts
numbers within the list of arguments.
Syntax:=COUNT(Value1,value2,)
Ex.:=COUNT(3,4,5) Count the number of (3)
COUNTA Function:- The COUNTA function counts the number of cells that are not empty in a range.
Syntax:=COUNTA(Value1,value2,)
Ex.:=COUNTA(3,4,5,*,#) Count the number of nonblank cells in or symbols (6)
COUNTBLANK Function:- Counts empty cells in a specified range of cells.
Syntax:=COUNTBLANK(RANGE)
COUNTIF Function:- The COUNTIF function counts the number of cells within a range that meet a single
criterion that you specify.
Syntax:=COUNTIF(Range, Criteria)
Created by:- Sankalp Kumar Singh At works From J J Infotech Computer Institute ,Pratapgarh
TEXT FUNCTIONS
CHAR Function:- Returns the character specified by a number. Use CHAR to translate code page numbers
you might get from files on other types of computers into characters.
Syntax:= CHAR(number)
EX:=CHAR(65) Displays the 50 character in the set (A).
CODE Function:- Returns a numeric code for the first character in a text string. The returned code
corresponds to the character set used by your computer.
Syntax:= CODE(text)
EX:=CODE(A) Displays the A numeric code for (65).
EXACT Function:- Compares two text strings and returns TRUE if they are exactly the same, FALSE
otherwise. EXACT is case-sensitive but ignores formatting differences. Use EXACT to test text being entered
into a document.
Syntax:= EXACT(text1,text2)
LEFT Function:- LEFT returns the first character or characters in a text string, based on the number of
characters you specify.
Syntax:= LEFT(text,num_char)
EX:=LEFT(SANKALP,4) First four characters in the string(SANK).
LEN Function:- LEN returns the number of characters in a text string.
Syntax:= LEN(text)
EX:=LEN(SANKALP KUMAR) Length of the string (13).
LOWER Function:- Converts all uppercase letters in a text string to lowercase.
Syntax:= LOWER(text)
EX:=LOWER(SANKALP SINGH) Lower case of string (sankalp singh).
MID Function:- MID returns a specific number of characters from a text string, starting at the position you
specify, based on the number of characters you specify.
Syntax:= MID(text,start_num, num_char)
EX:=LOWER(SANKALP SINGH,2,5) starting at the (ankal).
PROPER Function:- Capitalizes the first letter in a text string and any other letters in text that follow any
character other than a letter. Converts all other letters to lowercase letters.
Syntax:= PROPER(text)
EX:=PROPER(sankalp singh) Proper case of first string (Sankalp Kumar).
REPT Function:- Repeats text a given number of times. Use REPT to fill a cell with a number of instances of
a text string.
Syntax:= REPT(text,No of times)
EX:=REPT(singh,4) Displays the string 4times (singh singh singh singh).
RIGHT Function:- RIGHT returns the last character or characters in a text string, based on the number of
characters you specify.
Syntax:= RIGHT(text,No of char)
EX:=RIGHT(SANKALP,4) Last 4 characters of the string (KALP).
TRIM Function:- Removes all spaces from text except for single spaces between words. Use TRIM on text
that you have received from another application that may have irregular spacing.
Syntax:= TRIM(text)
EX:=TRIM(SANKALP
KUMAR
SINGH)
= SANKALP KUMAR SINGH
UPPER Function:- Converts text to uppercase.
Syntax:= UPPER(text)
EX:=UPPER(sankalp) Upper case of first string (SANKALP).
Created by:- Sankalp Kumar Singh At works From J J Infotech Computer Institute ,Pratapgarh
DAYS360 Function:- Calculates the number of days between two dates based on a 360-day year
Syntax:= DAYS360(Start_date, end_date)
EX:=DAYS360(21/10/1987,19/11/2015) Numbar of days (10108).
HOUR Function:- Returns the hour of a time value. The hour is given as an integer, ranging from 0 (12:00
A.M.) to 23 (11:00 P.M.).
Syntax:= HOUR(Serial_number)
EX:=HOUR(4:30) Hour of time (4).
MINUTE Function:- Returns the minutes of a time value. The minute is given as an integer, ranging from 0
to 59.
Syntax:= MINUTE(Serial_number)
EX:=HOUR(4:30) Hour of time (4).
MONTH Function:- Returns the month of a date represented by a serial number.
Syntax:= MONTH(Serial_number)
EX:=MONTH(19/11/2015) Month of the date above (11).
NOW Function:- Returns the serial number of the current date and time.
Syntax:= NOW()
EX:=NOW()
=19/11/2015 9:32
SECOND Function:- Returns the seconds of a time value. The second is given as an integer in the range 0
(zero) to 59.
Syntax:= SECOND(Serial_number)
EX:=SECOND(4:30:50) Second of time (50).
TIME Function:- Returns the serial number of a particular time.
Syntax:= TIME(Hour, Minute, Second)
EX:=TIME(4,30,50) Time of (4:30:50pm).
Today Function:- Returns the serial number of todays date.
Syntax:= TODAY( )
EX:=TODAY() Date is (19/11/2015).
WEEKDAY Function:- Returns the day of the week corresponding to a date. The day is given as an integer,
ranging from 1 (Sunday) to 7 (Saturday), by default.
Syntax:= WEEKDAY(date )
EX:=WEEKDAY(19/11/2015) Weekday is (5).
YEAR Function:- Returns the year corresponding to a date.
Syntax:= YEAR(serial_num )
EX:=YEAR(19/11/2015) Year of the first date (2015).
ENGINEERING FUNCTIONS
BIN2DEC Function:- Converts a binary number to decimal.
Syntax:= BIN2DEC(Number )
EX:=BIN2DEC(1100100) Converts binary to decimal no (100)
BIN2HEX Function:- Converts a binary number to hexadecimal.
Syntax:= BIN2HEX(Number,Place )
EX:=BIN2HEX(11111011,4) Converts binary to hexadecimal no (0FB)
=BIN2HEX(1110) Converts binary 1110 to hex (E).
BIN2OCT Function:- Converts a binary number to octal.
Syntax:= BIN2OCT(Number )
EX:=BIN2OCT(1001,3) Converts binary to octal no (011)
Created by:- Sankalp Kumar Singh At works From J J Infotech Computer Institute ,Pratapgarh
LOGICAL FUNCTIONS
IF Function:- Specifies a logical test to perform.
Syntax:= IF(logical_test, value_if_true , value_if_false)
AND Function:- Returns TRUE if all its arguments evaluate to TRUE; returns FALSE if one or more
arguments evaluate to FALSE.
Syntax:= AND(logical1, logical2,)
Created by:- Sankalp Kumar Singh At works From J J Infotech Computer Institute ,Pratapgarh
Created by:- Sankalp Kumar Singh At works From J J Infotech Computer Institute ,Pratapgarh