Excel Functions 3
Excel Functions 3
If
Sum functions
Count functions
Lookup functions
Index & Match
Average & Averageif
Iferror
Text functions
Choose
Goal Seek
Data tables
Pivot tables
1
IF
1
1 2 3
If tests to see whether a certain
condition is true or false…
2
…the Excel user selects as a second
argument of the function the value to
be displayed if the condition is TRUE
3
…the Excel user selects as a third
argument of the function the value to
be displayed if the condition is FALSE
2
IF
3
IF
4
SUM
5
SUMIF
1 2 3
6
SUMIF
7
SUMIFS
1 2 3 4 5
1
The first argument is the “Sum range”. These are the
cells to be summed if the conditions are satisfied
2
“Criteria range 1” contains the first range with cells
that will be evaluated
3
“Criteria 1” is the condition to be satisfied by the
cells in “Criteria range 1”
4
“Criteria range 2” contains the second range with
cells that will be evaluated
5
“Criteria 2” is the condition to be satisfied by the
cells in “Criteria range 2”
8
SUMIFS
9
COUNT
10
COUNTA
11
COUNTIF
1 2
1
The first argument is the range to be
counted
2
The second argument is the condition
that needs to be satisfied in order to
count the cells
12
COUNTIF
1 2
1
We would like to count how many
teams earned more than 60
points. Therefore we select the
range containing the number of
points earned F4:F12
2
The condition that needs to be
satisfied is that a team earned
more than 60 points
Six teams earned more than
60 points
13
COUNTIFS
1 2 3 4
3
“Criteria range 2” contains the second
range with cells that will be evaluated
4
“Criteria 2” is the condition to be satisfied
by the cells in “Criteria range 2”
14
COUNTIFS
1 2 3 4
1
The first argument is the range indicating whether a team
played in the Champions league (“Yes” or “No”)
2
Then we have the condition that needs to be satisfied:
“Yes” as we want to count only the teams which
participated in the Champions league
3
The third argument is the range which contains
the
number of points earned by each team
We would like to count the teams that satisfy two 20
conditions:
4
1) Participated in the Champions league (“Yes”) We want to count only teams that earned more than 60
2) Earned more than 60 Points points
VLOOKUP
16
VLOOKUP
17
VLOOKUP
1 2 3 4
1
The first argument is the value that we need to find in
the leftmost column of the table
2
The second argument is the table where we will be
looking at
3
The third argument is the column from which we
would like to make an extraction
4
Fourth argument is a logical value; we indicate
whether we want the closest match (“TRUE”) or an
exact match (“FALSE”)
18
VLOOKUP
1
Our lookup value is Lazio – H4. We would like to find
this value in the leftmost column of the table to the left
2
The second argument is the table with data : B4:F12.
The function will look for Lazio in the leftmost column of
the table - B4:B12
3
We select 2 as a column number, as we would like to
obtain a value from the second column of the table when
it finds a match for Lazio
4
The fourth argument is “FALSE” because we need an
exact match
19
VLOOKUP
Lookup
value
20
VLOOKUP
1 2 3 4 5
Once the lookup value has been found, we indicate which column we would like to
obtain as a result. In this case we have indicated the second column “Country”
21
HLOOKUP
22
HLOOKUP
23
HLOOKUP
1 2 3 4
1
The first argument is the value that we need to find in
the top row of the table
2
The second argument is the table where we will be looking at
3
The third argument is the row from which we would like to make
an extraction
4
Fourth argument is a logical value; we indicate whether we want
the closest match (“TRUE”) or an exact match (“FALSE”)
24
HLOOKUP
1 2
1 2
The second argument is the table with data : B3:F7.
Our lookup value is Lazio – H4. We would like to find
The function will look for Lazio in the top row of the
this value in the top row of the table to the left
table – B3:B7
3 4
We select 2 as a row number as we would like to The fourth argument is “FALSE” because we need an
obtain a value from the second row of the exact match
table when it finds a match for Lazio
25
HLOOKUP
26
HLOOKUP
1
2
3
4
5
Once the lookup value has been found, we indicate which row we would like to
obtain as a result. In this case we have indicated the second row (“Country”)
27
INDEX
1
The first argument is the array in which we would like
to make an extraction
2
The second argument is the row number within the
array
3
The third argument is the column number within the
array
28
INDEX
1 2
1
2
3
4 Index finds the intersection between the 5th row and the
5
2nd column within the array B4:C12 and delivers its result
29
MATC
H
1
“Lookup value” is the value that you want to
find in order to obtain the number that you
are looking for
2
“Lookup array” is the array in which we will
look for the “lookup value”
3
The third argument is a logical value:
“0” for an exact match and “1” for
closest match
30
INDEX & MATCH
31
INDEX & MATCH
32
AVERAG
E
33
AVERAGEIF
34
AVERAGEIF
35
IFERROR
1 2
1
The first argument of the
function is an expression or
formula that needs to be tested
for an error
2
The second argument is the
value to be displayed when
there is an error in the first
argument
36
IFERROR
37
IFERROR
38
LEFT
39
RIGHT
40
MID
41
UPPER
42
LOWER
43
PROPER
Proper converts a text to proper case. The first letter of each word is
an uppercase letter and the rest of the letters are lowercase
44
& and CONCATENATE
45
& and CONCATENATE
46
CHOOSE
1
An index number which determines the value
that will be selected
1
2 3 Value 2 is the value which will be selected
3 when the index number is set at 2
47
CHOOSE
48
Max
49
Min
50
GOAL SEEK
51
GOAL SEEK
We can find the Goal Seek function in the “Data” tab and
selecting “What if Analysis”
52
GOAL SEEK
53
GOAL SEEK
54
DATA
TABLES
55
DATA
TABLES
What if we wanted to see how much will be repaid if the interest rate was
11% or 12%? What if the financing is repaid in three years instead of five?
In such situations we can use data tables. A data table would show us how
the final value would vary if we change one or two of its input parameters
56
DATA
TABLES
57
DATA
TABLES
58
DATA
TABLES
59
PIVOT TABLES
Pivot tables are Excel’s dynamic and interactive tables. The data that you see
on this sheet includes 15,000 rows and could be hard to elaborate. Pivot
tables are a great way to simplify the work with large quantities of data
60
PIVOT TABLES
61
PIVOT TABLES
In order to build the Pivot table that serves our needs we have to
select these fields and drag them to the boxes below
62
PIVOT TABLES
63
PIVOT TABLES
64
PIVOT TABLES
65
PIVOT TABLES
66