You are on page 1of 4

MS EXCEL

parikshaplus.org
Common functions
Let’s look at some of the most commonly used functions in ms excel formulas. We will start with statistical functions.
S/N FUNCTION CATEGORY DESCRIPTION USAGE
01 SUM Math & Trig Adds all the values in a range of cells =SUM(E4:E8)
02 MIN Statistical Finds the minimum value in a range =MIN(E4:E8)
of cells
03 MAX Statistical Finds the maximum value in a range =MAX(E4:E8)
of cells
04 AVERAGE Statistical Calculates the average value in a =AVERAGE(E4:E8)
range of cells
05 COUNT Statistical Counts the number of cells in a range =COUNT(E4:E8)
of cells
06 LEN Text Returns the number of characters in a =LEN(B7)
string text
07 SUMIF Math & Trig Adds all the values in a range of cells =SUMIF(D4:D8,”>=1000″,C4:C8
that meet a specified criteria. )
=SUMIF(range,criteria,[sum_range])
08 AVERAGEIF Statistical Calculates the average value in a =AVERAGEIF(F4:F8,”Yes”,E4:E
range of cells that meet the specified 8)
criteria.
=AVERAGEIF(range,criteria,[averag
e_range])
09 DAYS Date & Time Returns the number of days between =DAYS(D4,C4)
two dates
10 NOW Date & Time Returns the current system date and =NOW()
time

Numeric Functions
As the name suggests, these functions operate on numeric data. The following table shows some of the common
numeric functions.
S/N FUNCTION CATEGORY DESCRIPTION USAGE
1 ISNUMBER Information Returns True if the supplied value is numeric and =ISNUMBER(A3)
False if it is not numeric
2 RAND Math & Trig Generates a random number between 0 and 1 =RAND()
3 ROUND Math & Trig Rounds off a decimal value to the specified =ROUND(3.14455,2)
number of decimal points
4 MEDIAN Statistical Returns the number in the middle of the set of =MEDIAN(3,4,5,2,5)
given numbers
5 PI Math & Trig Returns the value of Math Function PI(π) =PI()
6 POWER Math & Trig Returns the result of a number raised to a power. =POWER(2,4)
POWER( number, power )
7 MOD Math & Trig Returns the Remainder when you divide two =MOD(10,3)
numbers
8 ROMAN Math & Trig Converts a number to roman numerals =ROMAN(1984)
Page - 1
MS EXCEL
parikshaplus.org
String functions
These basic excel functions are used to manipulate text data. The following table shows some of the common string
functions.
S/N FUNCTION CATEGORY DESCRIPTION USAGE COMMENT
1 LEFT Text Returns a number of =LEFT(“GURU99”,4) Left 4 Characters of
specified characters “GURU99”
from the start (left-
hand side) of a string
2 RIGHT Text Returns a number of =RIGHT(“GURU99”,2) Right 2 Characters of
specified characters “GURU99”
from the end (right-
hand side) of a string
3 MID Text Retrieves a number of =MID(“GURU99”,2,3) Retrieving Characters 2
characters from the to 5
middle of a string from
a specified start
position and length.
=MID (text, start_num,
num_chars)
4 ISTEXT Information Returns True if the =ISTEXT(value) value – The value to
supplied parameter is check.
Text
5 FIND Text Returns the starting =FIND(“oo”,”Roofing”, Find oo in “Roofing”,
position of a text string 1) Result is 2
within another text
string. This function is
case-sensitive.
=FIND(find_text,
within_text,
[start_num])
6 REPLACE Text Replaces part of a =REPLACE(“Roofing”, Replace “oo” with “xx”
string with another 2,2,”xx”)
specified string.
=REPLACE (old_text,
start_num, num_chars,
new_text)
7. CEILING Round a number up to =CEILING(18,7) 21
a multiple of
significance
8 FLOOR Round a number down =FLOOR(18,7) 14
to a multiple of
significance

Page - 2
MS EXCEL
parikshaplus.org
Date Time Functions
These functions are used to manipulate date values. The following table shows some of the common date functions

S/N FUNCTION CATEGORY DESCRIPTION USAGE


1 DATE Date & Time Returns the number that represents the =DATE(2015,2,4)
date in excel code
2 DAYS Date & Time Find the number of days between two =DAYS(D6,C6)
dates
3 MONTH Date & Time Returns the month from a date value =MONTH(“4/2/2015”)
4 MINUTE Date & Time Returns the minutes from a time value =MINUTE(“12:31”)
5 YEAR Date & Time Returns the year from a date value =YEAR(“04/02/2015”)

HLOOKUP Function VLOOKUP Function


HLOOKUP()- HLOOKUP is a "Horizontal lookup" to In Excel, VLOOKUP stands for 'Vertical Lookup',
search the value in the topmost rows. It is an Excel meaning the function only works vertically for the
function, which helps the users to search and retrieve organized or structured table to be searched for the
the data from the topmost row in an Excel worksheet. desired value. It is a built-in Excel function that
This function runs a bit differently than the other Excel searches for a specific value in the desired column to
functions. retrieve the respective value from a different column
In the name of HLOOKUP, "H" refers to Horizontal. It but on the same row. In simple words, the VLOOKUP
means that the searching and retrieve operations are function enables us to search for any specific piece of
performed horizontally on rows moving to the right. information within our worksheet while working with
Hence, HLOOKUP is also known as Horizontal the large data sets.
LOOKUP. For example, the VLOOKUP function tells Excel to
look for the desired piece of information (i.e., RAM) in
Syntax : HLOOKUP(Lookup Value, Table Range, the given data set or a range (i.e., table) and return
row number, 0) some other respective information about that (i.e., the
Example : =HLOOKUP(D21, B14:E16,2,0) price of RAM).
Syntax : VLOOKUP(Lookup Value, Table Range,
Column number, 0)
Example : =VLOOKUP(D21, B14:E16,2,0)

Page - 3

You might also like