Professional Documents
Culture Documents
Debt Markets
Debt Markets
IF function
Tests a supplied condition. Return one result, if condition evaluates TRUE and
The formula returns TRUE if a value in cell A2 is greater than or equal to 10, and a v
The formula returns TRUE if A2 is greater than or equal to 10 or B2 is less than 5, or
The formula returns TRUE if either A2 is greater than or equal to 10 or B2 is less tha
The formula returns FALSE if a value in cell A21 is greater than or equal to 10; TRUE
_if_false).
5
han zero
nces,Numbers,Text,Formulas and other Excel functions. All should evaluvate to TRUE OR FALSE
LEFT function Returns the number of characters from the start of the suppli
Syntax LEFT(text,[num_chars])
Left Chars
Hello H
Hello World Hello
Hello World Hello W
PROPER Function The Excel Proper function converts all characters in a supplied
Syntax PROPER(text)
this is a string This Is A String
THIS IS A STRING This Is A String
233xst Test 233Xst Test
mr.Navin's car Mr.Navin'S Car
UPPER Function The Excel Upper function converts all characters in a supplied
Syntax upper(text)
test TEST
TEST TEST
Lower Function The Excel Lower function converts all characters in a supplied
Syntax lower(text)
HELLO hello
Text text
This IS a test this is a test
Exercises
1.Find the length of your name
2.Find the sur name of your full name
TRIM Function removes extra spaces (i.e. all spaces except for single spaces b
Syntax TRIM( text )
FIND Function The Excel FIND function returns the position of a specified cha
Syntax FIND( find_text, within_text, [start_num] )
find_t -
withi -
[start_nu-
Example
Original Text 10
Original Text 13
Original Text 5
Replace Function The Excel Replace function replaces all or part of a text string with anoth
Syntax REPLACE( old_text, start_num, num_chars, new_text )
old_te -
start_ -
num_c -
new_te -
Example
Test String Check String
e length of the specified string
Proper function converts all characters in a supplied text string to proper case (i.e. all letters that do not imme
Upper function converts all characters in a supplied text string to upper case.
Lower function converts all characters in a supplied text string to lower case.
te function joins together a series of supplied text strings or other values, into one combined text string.
NATE( text1, [text2], ... ) max is 255 text arguments
xtra spaces (i.e. all spaces except for single spaces between words or characters) from a supplied text string.
FIND function returns the position of a specified character or sub-string within a supplied text string.
_text, within_text, [start_num] )
place function replaces all or part of a text string with another string.
d_text, start_num, num_chars, new_text )
The original text string, that you want to
replace a part of.
The position, within old_text, of the first
character that you want to replace.
The number of characters to replace.
The replacement text.
Don’t use Right functions with the date. In Excel, the Date is stored as numb
(i.e. all letters that do not immediately follow another letter are set to upper case and all other characters are
one combined text string.
max is 255 text arguments
Times in Excel are stored as decimals, between 0 and 1, which represent a proportion of the day.
0 12:00:00 AM
0.25 6:00:00 AM
0.5 12:00:00 PM noon
0.75 6:00:00 PM
0.8 7:12:00 PM
0.9 9:36:00 PM
1 12:00:00 AM
How Excel stores date and time
1.5 12/31/1899 12:00
42736.25 1/1/2017 6:00
Since Excel stores date and Time as numbers, we can do all arithmetic operations.
/Now()
Now() - 10/9/2019 13:39
How to find the difference between two dates ?
Date 1 19-Jul-18
Date 2 25-Jul-18
Difference 6
How to find the number of days that have passed since 17,May,2010.
Days passed
17-May-18 510 //format as general
Alter 1
if year is between 1 and 1899,
then it is added to 1900 date(1,1,1)= 1/1/1901
ex:- date(100,1,1) 1/1/2000
Alter2
Alter3
1-Jul-18 14
15-Jul-18 14
When the start date is last day of the month, In US or European method, it Is set to 30 .
31-Jul-18 15
15-Aug-18 15
If end date is last day of the month, if the start date is < 30 then end date is set to first of the next month
otherwise end date becomes 30th of the same month.
29-Aug-18 62
31-Oct-18 61
1-Nov-18 62
64
Days Function returns the number of days between two supplied dates.
Syntax DAYS( end_date, start_date )
18-Jul-18 31
18-Aug-18
31
/formatted as HH.MM:SS
Appointment is Due !!!
/format as general
converts a supplied year, month and day into an Excel date. All arguments are integerYear -1900 and 9999,Day
Example
2
4 5
0
test 0
23-Jul-18 10
CountIF Function
Syntax
SUMIF Function
Syntax
AVERAGEIF
Syntax
Example
Monday 500
Tuesday 50
Thursday 100
Firday 100
Thursday 200
5 300 1
2 200 2
3 100 3
4 50 4
5 100 5
1 50
1 200
1 250
0 50
Profits
Region
(Thousands)
East 45678
West 23789
North -4789
MidWest 9678
East(New Office) 34567
1 Quarter Area
2 1 North
3 1 North
4 1 South
5 2 North
6 2 North
7 2 South
8 3 North
9 3 North
10 3 South
11 4 North
12 4 North
13 4 South
14 4 North
find the average quarterly sale, per person, in the North area during quarter 1:
find the average sales figure for "Jeff", during quarters 3 and 4:
find the average sales of reps whose name starts with "C" in North Area ?
Find the average sales per person ,in North Area during Quarter 4
Average first quiz grade that falls between 70 and 90 for all students (80.5). The score marked "Incomplete
80.5
Average second quiz grade that is greater than 95 for all students.
#DIV/0! Because there are no scores greater than 95, #DIV0! is returned.
Average final exam grade that is greater than 80 for all students
87.5
Find The average scores of students in Final Exam > 80 and their names ending with "e"
88
2400
returns the count of numeric values in a supplied set of cells or values. This count includes both numbers and dates.
COUNT( value1, [value2], ... )
Count
COUNT(A6:A10) 4
COUNT(A6:B10) 6
returns the number of cells within a supplied range, that satisfy a given criteria.
COUNTIF( range, criteria )
The supplied criteria can be either: A numeric value (which may be an integer, decimal, date
A text string (e.g. "Text", "Monday"), which may include w
An expression (e.g. ">12",
You can use wild chars such as ? Or *
finds the values in a supplied array, that satisfy a given criteria, and returns the sum of the corresponding values in a
SUMIF( range, criteria, [sum_range] )
range -
[sum_range] -
returns the average (i.e. the statistical mean) of the corresponding values in a second supplied array.
AVERAGEIF( range, criteria, [average_range] )
150 AVERAGEIF(A33:A46,"Thursday",B33:B46)
200 AVERAGEIF(A33:A46,5,B33:B46)
137.5 AVERAGEIF(A33:A46,">2",B33:B46)
225 AVERAGEIF(A33:A46,TRUE,B33:B46)
150 AVERAGEIF(A33:A46,"<>true",B33:B46)
18589
Average of all profits where region has new office
19011.5
₹ 285,500.00
"C" in North Area ? ₹ 241,800.00
₹ 354,750.00
₹ 251,666.67
Final
Exam
Grade
87
88
Incomplete
75
and 90 for all students (80.5). The score marked "Incomplete" is not included in the calculation because it is not a nu
87.5
may be an integer, decimal, date, time, or logical value) (e.g. 10, 01/01/2008, TRUE)
", "Monday"), which may include wildcards
An array of values (or range of cells containing values) to be tested against the supplied
An optional array of
numeric values (or
cells containing
numeric values),
which are to be
added together, if
the corresponding
range entry satisfies
the supplied criteria.
If the [sum_range] argument is omitted, the values from the range argument are summed i
Example
5
1
MAX Function The Excel MAX function returns the largest numeric value in a range of values. The
Example
Student IDInternal m External Mtotal Marks
ST001 20 15 35
ST002 30 38 68
ST003 18 19 37
ST004 43 45 88
ST005 38 43 81
ST006 32 38 70
ST007 45 43 88
ST008 25 20 45
ST009 39 42 81
ST010 37 40 77
MEDIAN function returns the statistical median (the middle value) of a list of supplied numbe
Syntax MEDIAN( number1, [number2], ... )
If there is an even number of values in the supplied data set, the average of the two middle v
If a supplied array contains empty cells, text, or logical values, these values are ignored when
In current versions of Excel (Excel 2007 & later), you can provide up to 255 number
Example
14 15 17 15
13 14 25 30 19.5 19.5
13 18 20 17 17.5 19
if middle values are greater than the last values, it finds avg and comapre with the n
Mode Function statistical mode (the most frequently occurring value) of a list of supplied num
Syntax MODE( number1, [number2], ... )
Example
1 1 2 2 3 4 4 5 5
1 1 2 2 3 4 4 6 5
The Standard Deviation is a statistical measure, that is used to identify the amount that a set of values differ (or devi
Example
10 20 30 40 50 60 STDEV 18.70829
A researcher has recruited males aged 45 to 65 years old for an exercise training study to inv
One of the questions on a national consensus survey asks for respondents' age. Which standa
VAR Function returns the sample variance of a supplied set of values.
231.8778 231.8778 Both sample variance and var are the same.
ue in a range of values.
and text values.
e in a range of values. The MAX function ignores empty cells, the logical values TRUE and FALSE, and text
d numbers.
nds avg and comapre with the next value/then again find avg
value) of a list of supplied numbers. If there are 2 or more most frequently occurring values in the supplied data, the function re
5 Mode= 5
5 mode= 1
ise training study to investigate risk markers for heart disease (e.g., cholesterol). Which standard devi
dents' age. Which standard deviation would be used to describe the variation in all ages received from
UE and FALSE, and text values.
supplied data, the function returns the lowest of these values