You are on page 1of 9

Advanced IF functions

In the message bar, click Enable Editing,


then press F5 or click Slide Show > From Beginning to
start the course.
If the videos in this course dont play, you may
need to download QuickTime or just
switch to PowerPoint 2013.

Advanced IF functions

Closed captions

Course
summary

Upthe
Well
In
Now
the
Im
Adding
The
And
This
Logical_test
like
It
Value_if_true
Value_if_false
For
If
Packing
should
can
the
next,
example,
determining
copying
Surcharge
comparing
text
TRIM
now
is
Im
cover
Actual
text
logical_test
be
also
formula,
the
the
determining
in
nested
have
Im
the
any
function
is
has
syntax,
be
B3
TRIM
complex
the
is
equal
expense
copying
formula
is
if
expression
text,
is
extra
has
required.
is
aone
text
C2
optional.
formula
also
IF
if
$75
$75.
function
evaluates
my
to
removes
greater
or
a
functions.
such
number
(like
spaces,
leading
examples
optional.
surcharge
Fragile
grammar,
handles
if
the
is
Otherwise,
travel
agreater
as
again.
Over
that
This
category
formula.
to
than
B2
spaces
or
to
the
comparing
(comparing
expenses
space
can
is
extra
Budget
This
equal
TRUE
FALSE
cell
and
because
than
B2
of
the
formula
its
be
the
of
to
is
and
variations
from
spaces
value
and
to
0.
evaluated
the
merchandise
the
and
TRUE,
FALSE,
another,
and
IF
are
fragile.
its
text
its
text
will
a
function.
Budgeted
we
value
we
ifWithin
over
text
not
in
the
return
fragile.
with
dont
help.
return
with
dont
text
of
such
returning
string
ifto
or
logical_test
the
the
a
Budget)
the
TRUE
within
strings.
provide
Over
requires
provide
function
expense,
Within
Getting
as
IFlogical_test
except
IFfunction
C2
Budget.
or
function
the
budget.
must
greater
Budget.
the
FALSE,
the
a
evaluates
this
may
results
for
Status
shipping
value
value
in
be
wrong
single
not
evaluates
isa
than
in
not
few
is
Ifor
return
for
quotes.
expect.
to
Over
surcharge.
spaces
would
B2.
case
value_if_true,
minutes.
value_if_false,
TRUE.
to
the
Budget.
sensitive),
take
FALSE.
between
results
But
75 first,
the
we
a quick
Otherwise,
expect.
dollars
words.
function
the
function
per
IFreturns
function
mistake
its
returns
Within
0. refresher.
out
0.Budget.
of our revenue.
Press F5 to start, Esc
to stop

3:23

Advanced IF

3
3:31

Nested IF

4
3:35

IF, AND and


OR

5
5:31

COUNTIFS

1/5
videos

Feedback

Help

4:51

AVERAGEIFS

Summary

Help

Advanced IF functions

Closed captions

Course
summary

Upneither
One
Nested
allows
In
Let
greater
Heres
But
Im
Otherwise
We
This
Since
Sales
If
the
B2
its
Bobs
it
this
next,
want
nest
use
then
me
copying
pressing
function
evaluates
the
IF
continues
is
greater
FALSE,
greater
B2
10,000
formula
you
another
function
show
IF
additional
than
commission
score
sales,
sales
an
multiply
IF
to
greater
greater
functions,
his
to
with
IF
determine
the
returns
B2
F4
or
than
you
has
are
test
than
in
function
commission
to
B2,
for
we
example
example.
equal
has
to
greater
formula.
AND
B2
TRUE,
FALSE,
than
the
why.
than
greater
already
multiple
or
are
nested
greater
make
must
or
is
one
the
percentage
meaning
equal
and
result
equal
to
greater
or
a
or
by
itthan
Sales
test
value
where
80
it
students
equal
We
returns
equal
than
OR
IF
been
setting
than
an
is
criteria
to
is
by
to
functions
B2
and
0.
want
or
functions.
absolute
90
one
than
essentially
greater
in
10,000
5,000
or
his
to
the
evaluated
or
to
equal
greater
varies
G4
evaluates
two
the
equal
value_if_false
90
IF
equal
10,000
sales.
to
grade
and
or
order
function
is
has
value
determine
possible
equal
0.
than
to
iscell
depending
essentially
increases
to
than
tested
to
test
80
based
of
already
greater
or
as
5,000,
reference),
70
or
in
to
the
is
to
greater
FALSE,
or
for
inside
G2,
equal
TRUE,
evaluated.
and
outcomes,
90,
10,000
first.
to
on
formula
equal
commissions
C,
the
than
his
been
5%.
IF
on
greater
return
60.
their
D,
of
to
than
the
B2
commission
number
how
to
and
or
F
(the
another,
the
5,000
evaluated
greater
matters.
score.
is
formula
90
equal
an
TRUE
or
much
than
F
the
commission
cursor
first,
grades.
A.
equal
is
of
for
final
to
evaluated
or
or
than
possible
theyve
returns
and
our
is
to
80
FALSE.
is
equal
to
value_if_false.
2%.
FALSE,
next
sales
or
and
5,000
then
isequal
to
sold.
A
outcomes.
5%.
to
less
next.
B2
and
staff.
5,000
is
the
Im
greater
TRUE,
to
than
were
cell
80,
and
pressing
90.less
return
done.
reference;
F4
than
again.
orB.equal to 80, and so on.
10,000.
Press F5 to start, Esc
to stop

3:23

Advanced IF

3
3:31

Nested IF

4
3:35

IF, AND and


OR

5
5:31

COUNTIFS

2/5
videos

Feedback

Help

4:51

AVERAGEIFS

Summary

Help

Advanced IF functions

Closed captions

Course
summary

Upall
Were
The
(the
and
Im
We
AND
When
Now
For
or
Both
Lets
OR
In
If
theyre
at
none
any
this
their
next,
returns
can
all
the
at
copying
formula
their
least
cursor
arguments
well
were
returns
is
Bob
take
look
arguments
looking
logical_test
all
at
least
As,
example,
nested
of
IF
see
score
least
the
arguments
all
score
and
function,
one
the
at
extend
a
we
looking
TRUE
is
one
that
look
the
greater
will
TRUE
how
COUNTIFS
next
need
on
tests
Mo
for
test
one
inon
formula.
A,
in
OR
test
only
at
Test
the
ifthat
students
in
have
the
evaluates
when
the
Test
argument
is
we
to
for
any
when
are
to
how
the
is
than
in
IF
greater
to
the
Mo
2
functionality
know
worked.
need
students
nested
OR
the
at
2
3
greater
function
argument
is
and
see
OR
that
all
has
is
cell
logical_test
or
greater
least
function
who
AND
greater
function
arguments
if
to
SUMIFS
ifequal
to
than
worked.
in
all
reference;
all
in
aknow
Its
FALSE,
than
one
the
have
who
students
function
and
As.
the
ofthan
is
or
similar
to
of
evaluate
the
than
AND
A.
functions.
TRUE
IF
evaluates
have
or
if
is
equal
all
90
the
evaluates
a
the
function
the
or
equal
evaluate
conditions
As
students
Im
the
function
or
evaluate
IF
equal
score
to
at
and
function
logical_test.
to
on
equal
function
pressing
IF
to
the
least
to
90,
their
FALSE
function
to
FALSE,
and
on
to
90,
nested
to
evaluates
TRUE,
to
the
one
are
score
to
90,
TRUE,
Test
TRUE,
returns
tests
is
it
90
90.
by
TRUE,
when
F4
IF
returns
true.
the
or
IF
A(Im
1
returns
nesting
function
AND
IF
on
to
on
returns
their
the
using
is
and
logical
returns
make
value_if_false.
all
Test
If
IF
their
greater
to
pressing
function.
IF
so,
No.
returns
arguments
FALSE
score
FALSE,
IF
Yes;
function
AND
1the
returns
the
tests,
it
test.
with
is
the
an
than
if
greater
on
value_if_false.
and
result
when
F4
IF
the
not,
value_if_true.
absolute
ausing
Test
again),
returns
nested
Yes.
or
OR
are
value_if_true.
itat
of
equal
3
than
returns
functions.
IF
FALSE.
least
the
iscell
with
AND
the
greater
or
IF
toone
equal
No.
90
a
function.
function
reference),
argument
value_if_true.
value_if_false.
nested
to
than
90,or OR
equal
isevaluates
TRUE.
function.
to 90. to FALSE.
Press F5 to start, Esc
to stop

3:23

Advanced IF

3
3:31

Nested IF

4
3:35

IF, AND and


OR

5
5:31

COUNTIFS

3/5
videos

Feedback

Help

4:51

AVERAGEIFS

Summary

Help

Advanced IF functions

Closed captions

Course
summary

Up
To
greater
Im
COUNTIFS
but
Now
IWe
Next
Then
In
Lets
First
Of
Lastly,
Bob
so
SUMIFS
This
sum_range
criteria_range1
criteria1
criteria_range2,
is
Each
must
You
press
summed
this
the
determine
that
the
these
next,
can
using
they
can
and
is
is
we
the
we
walk
additional
cell
criteria_range
we
contain
East
the
example
results
the
the
F4
Ido
than
adds
use
select
want
function
select
can
Sue
is
dont
the
two,
select
in
ato
through
only
applies
syntax
this
function
required.
region
only
is
cell
the
the
make
AVERAGEIFS
easily
or
are
the
the
required.
it
to
of
have
the
the
with
sales
the
reference
is
equal
sum_range
then
there
range
question
if
criteria2,
determine
the
the
cells
evaluates
number
same
required.
of
there
the
ALL
criteria
Region
range
this
this.
first
change
cell
criteria
range
adds
argument
the
to
function
the
Its
salespeople
evaluates
person
are
to
total
in
must
of
be
an
Its
range
number
cell
Its
SUMIFS
is
the
50,
COUNTIFS
SUMIFS
a
the
of
mark
two,
and
for
of
adjacent
to
cell
absolute
one
range
one
it
that
sales
the
argument
Its
similar
cells
range
how
have
criteria
in
sales
cells
from
cells
corresponding
cells
needs
the
is
iffor
IFERROR
range,
so
Bob
person
cell
Ithe
and
sales,
how
or
Bobs
the
of
function.
want
many
function.
we
by
criteria
that
on
the
for
the
across
the
more
people
we
from
rows
G2.
to
and
first
function.
to
cell
asterisk
range
to
by
sales
many
want
are
the
number
and
same
the
want
sales
by
East
meet
to.
each
with
meet.
cells
which
Sue.
functions.
the
reference.
range
and
cells
optional.
East
instead
region,
number
multiple
COUNTIFS
by
Ireps
to
will
have
region
press
50
to
range
figure.
other.
number
multiple
criteria
in
wildcard
columns
add,
region
In
to
criteria_range1
region.
of
evaluate,
thats
be
or
the
with
this
sum.
orders
orders
where
of
more
F4
evaluated
of
in
to
ranges
of
Region
hard
specified
who
orders
case,
orders
to
of
this
function.
meet
cells
criteria.
evaluated.
characters
Blank
as
rows
make
orders.
greater
the
and
the
the
case
have
coding
and
in
the
cell
columns
all
greater
and
sales
and
the
four
and
by,
the
sum_range
this
are
of
is
region
the
counts
range,
fifty
than
the
criteria
evaluated.
in
the
text
it
Sales
columns
regions
in
person
TRUE
an
range
into
this
or
than
criteria.
criteria,
range
criteria,
or
absolute
values
is
the
B2
more
column
the
case
East.
equal
for
itor
argument.
of
through
has
in
number
as
needs
of
formula
that
cells
equal
the
orders,
are
greater
East,
cells
fifty
to
cell
where
Region
cell.
ignored.
in
50,
50.
to
to
B7,
or
cell
of
are
the
we
meet,
50
cell
For
than
more
times
are
all
F2.
use
is
reference.
G2.
all
criteria_range1,
orders.
Sales
column.
or
$49,017.
equal
East,
the
equal
criteria
COUNTIFS
corresponding
Inits
column.
to
this
East.
to
just
are
case
50,
Bob.
There
met.
function.
in
its
cell
criteria
just
are
G2.
Bob.
two.
are met.
Press F5 to start, Esc
to stop

3:23

Advanced IF

3
3:31

Nested IF

4
3:35

IF, AND and


OR

5
5:31

COUNTIFS

4/5
videos

Feedback

Help

4:51

AVERAGEIFS

Summary

Help

Advanced IF functions

Closed captions

Course
summary

Sothere
Next
Then
In
Lets
First
There
Lastly,
where
The
Youll
Ill
AVERAGEIFS
average_range
criteria_range1
criteria1
criteria_range2,
Each
is
All
You
As
Wei
If
We
Im
IFERROR
otherwise,
And
This
Value
Value_if_error
Now
Of
used
the
these
course,
show
we
criteria_range
check
can
pressing
putting
can
is
average
we
is
we
the
well
youve
well
walk
of
we
notice
is
are
North
the
saw
all
the
the
in
are
do
enhance
see
the
use
select
required.
function
you
is
two,
select
returns
out
corresponding
the
two,
determine
only
select
through
theres
syntax
it
this
before,
function
required.
the
no
cells
that
got
the
that
region,
F4
returns
why
of
the
SUMIFS
average
iscells
the
Mo
sales
with
AVERAGEIFS
is
the
Mo
to
a
question
criteria2,
also
the
in
the
the
course
evaluates
must
and
required.
Its
pretty
of
always
make
and
the
range
this.
and
the
criteria
range
averages
that
for
the
the
South
Its
first
person
value
formula
required.
the
average
the
then
how
average
calculation
Dave
be
average_range
sales
Daves
Its
AVERAGEIFS
the
average
criteria
meet
AVERAGEIFS
IFERROR
this
result
summary
good
average
of
range
argument
mark
more
of
and
the
to
specified,
region
evaluates
by
Its
similar
cells
how
criteria
function
in
cells
are
an
people
with
handle
the
for
same
idea
which
all
so
Its
the
of
one
sales
the
and
for
to
of
absolute
are
many
the
we
on
of
the
cells
for
sales
function.
no
the
only
learn.
what
cells
at
South
the
to
first
about
or
asterisk
all
that
by
met.
want
size
are
salespeople
having
the
is
function.
this
the
inside
longer
in
criteria,
South
the
formula.
function.
how
the
IFERROR
more
from
South
cells
$63,370.
if
which
by
we
this
range
IFERROR
optional.
is
range
and
number
all
region
cell
in
end,
SUMIFS
how
to
many
region,
checked
want
an
region
a
cells
the
in
that
case
of
50
returns
wildcard
average,
region
shape
reference.
minute.
AVERAGEIFS
criteria_range1
thats
and
to
the
IFERROR
is
or
function
range
and
have
to
meet
to
use
for
NA,
returns
evaluated,
of
function.
more
where
Region
corresponding
is
best
evaluate,
average.
for
as
orders
an
returns
North
evaluated.
she
aIF
characters
ifin
orders
of
multiple
divide
average_range.
an
error.
AVERAGEIFS
functions
of
orders,
function.
to
this
has
cells
the
ifcolumn
all,
error.
returns
region.
handle
and
the
ain
case
sales
fewer
greater
Blank
the
is
by
divide
explore
invalue
this
criteria.
the
their
evaluated.
the
in
zero
range
criteria
in
contain
cells
the
this
person
criteria.
than
criteria
case
and
Excel.
evaluates
Sales
by
average
argument
than
error.
Excel
divide
and
D2
zero
of
text
50
East,
specified
ahas
cells
or
column
to
it
other
orders.
specific
2013
values
error.
by
equal
needs
D7
sales
cell
fifty
to
in
returns
zero
in
error
an
on
the
F2.
are
or
the
to
are
are
to
error;
your
50.
an
more
Sales
Region
meet.
$63,370.
region.
For
ignored.
TRUE
(#DIV/0!)
conditions.
error.
own.
North
orders.
column.
for
column.
Inthat
this
error.
cell.
is
example,
both MoNorth.
and Dave.
Press F5 to start, Esc
to stop

3:23

Advanced IF

3
3:31

Nested IF

4
3:35

IF, AND and


OR

5
5:31

COUNTIFS

5/5
videos

Feedback

Help

4:51

AVERAGEIFS

Summary

Help

Help
Course
summaryAdvanced IF functions

Course summary

Use the TRIM function


to avoid unintended
mistakes

AVERAGEIFS and
IFERROR
AVERAGEIFS returns the average of all cells
that meet multiple criteria. IFERROR returns
the value specified if AVERAGEIFS evaluates
to an error.

If the text in a formula has extra spaces,


comparing text with a function may not return
the results you expect and could result in
some pretty big miscalculations.
Adding the TRIM function to a formula
removes spaces from a text string except for
single spaces between words.

See also

Nested IF functions
You can always tell when a function is nested
because it's inside parentheses. Nested IF
functions, meaning one IF function inside of
another, allow you to test multiple criteria and
increases the number of possible outcomes.

More training courses


Office Compatibility Pack
Nest a function within a function
IF function
SUMIFS function
COUNTIFS function
AVERAGEIFS function
IFERROR function

COUNTIFS and SUMIFS


COUNTIFS applies criteria to cells across
multiple ranges and counts the number of
times all criteria are met. This is the syntax of
the COUNTIFS function.
SUMIFS adds the cells in a range that meet
multiple criteria.

Press F5 to start, Esc to


1stop

3:23

Advanced IF

3:31

Nested IF

4
3:35

IF, AND and


OR

5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

Help and comments


Rating

Course summary

Thank you for viewing this course!


How did we do? Please tell us what you think
Check out more cours
es

Press F5 to start, Esc to


1stop

3:23

Advanced IF

3:31

Nested IF

4
3:35

IF, AND and


OR

5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

Help

Course summary

Using PowerPoints video controls


Point at the bottom edge of any video to start, stop, pause, or rewind. You drag to
rewind.

Stopping a course
If youre viewing online, click your browsers Back button. If youre viewing offline,
press Esc. If youre watching a video, press Esc once to stop the video, again to stop
the course.

Going places

You can go to any part of a course by clicking the thumbnails (light or shaded)
below the video. You can also click the forward and back arrows, or press Page Up
or Page Down.

If you download a course and the videos dont play


Click Enable Editing
if you see that button. If that doesnt work, you may have
PowerPoint 2007 or earlier. If you do, you need to get the PowerPoint Viewer . If you have PowerPoint
2010, you need the QuickTime player , or you can upgrade to PowerPoint 2013 .

Press F5 to start, Esc to


1stop

3:23

Advanced IF

3:31

Nested IF

4
3:35

IF, AND and


OR

5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

You might also like