*please note that in a syntax, optional parameters are enclosed within
Text Functions
Function Name
Lower(text)
Upper(text)
Proper(text)
Text(data, format)
Trim(text)
Len(text)
Rept(text,no of times)
Left(text,num_char)
Right(text,num_char)
Mid(text,start_num,num_char)
Find(text,within_text,start_num)
Search(text,within_text,start_num)
Row(cell address)
Column(cell address)
Replace(old_text,start_num,num_char,new_text)
Substitute(text,old_text,new_text,[,instance number])
Logical and Information Functions
Function Name
Attendance Percentage
90
60
AND(logical1[,logical2,])
OR(logical1[,logical2,])
Information Functions
Function Name
cell(info_type[,reference])
info(type_text)
ISFunctions
ISBlank(value)
ISErr(value)
ISEven(value)
ISOdd(value)
ISNumber(value)
ISText(value)
Date and Time Functions
Date and Time Formats:
m/d/yyyy
d-mmm-yy
d-mmm
mmm-yy
h:mm:ss AM/PM
h:mm AM/PM
h:mm:ss
h:mm
m/d/y h:mm
To enter current date: cntrl + ;
To enter current time: cntrl + :
To find difference between two dates: date 1 - date 2
Function Name
Today()
Date(year,month,day)
Datevalue(text)
Year(date)
month(date)
day(date)
weekday(date[,returntype])
weeknum(date[,returntype])
Now()
Time(hr,min,sec)
Timevalue(text)
Hour(time)
Minute(time)
Second(Time)
Math Functions
Round(Number, No_of_digits)
Rounddown(num,num_digits)
RoundUp(num,num_digits)
Even(number)
Odd(number)
Int(number)
Trunc(number[,numdigits])
Mod(number,divisor)
Rand()
Randbetween(bottom,top)
Statistical Functions
numbers
23
67
32
32
45
Median(number1 [,nunber2,])
Mode(number1 [,nunber2,])
Large(array, kth largest)
Small(array, kth largest)
Var()
Stdev()
Trend(known x, known y, new x)
Frequency(data_array, bins_array)
numbers
1
1
4
2
4
3
2
5
10
10
7
Statistics functions are also available through Analysis Toolpack which
Summary of Some of the Statistical functions in Analysis toolpack
Anova: Single Factor
Annova: Two Factor with replication
Annova: Two Factor without replication
Correlation
Descriptive Statistics
F-Test
Histogram
Random numver generation
Regression
Sampling
t-test
z-test
Some Functions in Excel
al parameters are enclosed within square brackets []
Usage
To convert a text into lower case
To convert a text into Upper case
To convert the text with first letter of each word captalized
To convert the given number or text to particular format
Removes extra spaces from the text
Returns the number of characters in the text, including space
Repeats a text for a given number of times
Returns the number of leftmost characters in the string
Returns the number of rightmost characters in the string
Returns a specified number of characters starting from the
given point within a string
Finds a text in a given text starting from the start_num position
and returns the position. Is case sensitive
Same as find but is not case sensitive
Returns the row number of the specified cell
Returns the column number of the specified cell
Replaces the given characters with the new text in the old text
starting from the given position
Substitutes the old text with the new text in the given text. The
number of instance specifies which instance need to
substituted.
Usage
Test score
70
75
Perform the action if all the conditions are true
Perform the action if any of the conditions is true
Usage
Returns the information seeked for the reference cell. The
information type can be address,col,row,content of the
reference,filename,format
Returns the information seeked on the current operating
environment.
Boolean functions that return true or false based on the
argument.
Usage
Returns the current date
Returns the serial number of the given date
Converts a string into date
Returns the component of the date
Returns the month component of the date
Returns the day component of the date
Returns the number corresponding to the day of the date
Returns the week number when the date falls
Returns current date and time
Returns the time for the given components
Converts a string into time
Returns the hour component of time
Returns the minute component of time
Returns the seconds component of time
Rounds a number to the number of digits
Rounds towards zero
Rounds away from zero
Returns the nearest even number away from 0
Returns the nearest odd number away from 0
Convert a value to its nearest integer portion
Truncates the number to given number of decimal places
Returns the remainder
Returns the random number >=0 and <1.
Generates number between bottom and top
Calculates median
Calculates mode
To find the kth largest number in the array
To find the kth smallest number in the array
To find the variance
To get the standard deviation
Predicts the new y value for the new x value by understanding
the trend being followed by the known x and y values
To construct a frequency distribution as per the upper bounds
of the bins. This is the array function and hence can be
executed by pressing cntrl+shift+enter
e through Analysis Toolpack which is available as Add-in in Excel
Analysis toolpack
A simple analysis of variance. It tests the hypothesis that the
means from several samples are equal
An extension of the single factor annova to include more than
one sample for each group of data
A two factor annova that does'nt include more than one
sampling per group
Returns the correlation coefficient between two sets of data
Generates a report showing various statistics for a set of data
Performs two sample F-test to compare two population
variance
Calculates individual and cummulative frequencies for a range
of data and set of data bins. It is similar to frequency()
Fills a range with independent random numbers
Performs linear regression analysis that fits the line through a
set of values using the least sqauares method
Creates a sample from a population by treating the input range
as a population
Perfrom a t-test to find whether a sample's means are distinct.
Performe two sample z-test for means with known variance
me Functions in Excel
Example
Lower("ABC")
Upper("abc")
Proper("information technology for management")
Text(now(),"dd-mmm-yyyy")
Trim("
abc")
Len("IT for Management")
Rept("*",5)
Left("GITAM University",5)
Right("GITAM University", 10)
Mid("GITAM University", 4,6)
FIND("are","How are you",1)
SEARCH("ARE","How are you",1)
ROW(A1)
Column(C5)
REPLACE("management",1,6,"commit")
SUBSTITUTE("How are you are","are","do")
Example
IF(AND(B25>=75,C25>40),"Promote","Detain")
IF(AND(B26>=75,C26>40),"Promote","Detain")
IF(OR(B25>=75,C25>40),"Promote","Detain")
IF(OR(B26>=75,C26>40),"Promote","Detain")
Example
CELL("contents",E27)
INFO("osversion")
ISBlank(d31)
Iserr(E30)
ISeven(C26)
ISODD(C26)
ISNUMBER(E27)
ISTEXT(E27)
8/8/2015 - "8/1/2015"
Example
Today()
DATE(2015,8,6)
YEAR(TODAY())
MONTH(TODAY())
DAY(TODAY())
WEEKDAY(TODAY())
weeknum("August 8, 2015")
Now()
TIME(12,15,30)
HOUR(NOW())
MINUTE(NOW())
SECOND(NOW())
ROUND(123.45678,2)
ROUNDDOWN(1.1,0)
ROUNDUP(1.1,0)
EVEN(14.2)
ODD(14.2)
16
TRUNC(16.678,1)
MOD(16,3)
RAND()
RANDBETWEEN(5,25)
MEDIAN(A88:A92)
MODE(A88:A92)
LARGE(A88:A92,2)
SMALL(A88:A92,2)
VAR(A88:A92)
STDEV(A88:A92)
FREQUENCY(A101:A111,{3,7,10})
Add-in in Excel
Result
Remarks
abc
ABC
Information Technology For Management
now() returns current date
and time
15-Oct-2015
abc
17
*****
GITAM
University
AM Uni
5
5
1
3
commitment
How do you do
Default is all instances
Result
Remarks
Promote
Detain
Promote
Promote
Result
Remarks
Promote
type_text could be
directory, numfile, origin,
osversion, release, recalc,
system
Windows (32-bit) NT 5.01
1
0
0
1
0
1
Result
Remarks
10/15/2015
8/6/2015
2015
10
15
return type: 1 - sun to sat
2 - mon to sat
3 - mon to sun; numbering
starts from 0. Default
5 return type is 1
return type: 1 - week
begins on Sunday
(default);
32 2- week begins on Monday
10/15/2015 16:22
12:15 PM
16
22
20
123.46
1
2
16
15
16
16.6
1
To generate number >=0
and < n, give rand()*n.
Also note that random
numbers may change with
0.9898788107 every action
Note that random
numbers may change with
14 every action
32
32
45
32
292.7
17.1084774308
5 0-3
4 4-7
2 8-10