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,
determining
copying
Surcharge
example,
comparing
text
TRIM
is
now
Im
cover
Actual
text
logical_test
be
also
formula,
the
the
in
nested
determining
have
any
Im
the
has
is
function
syntax,
be
B3
complex
TRIM
equal
is
the
expense
is
copying
expression
ifformula
istext,
extra
has
required.
is
atext
optional.
C2
one
also
formula
IF
if$75
$75.
evaluates
function
or
my
ato
functions.
greater
such
removes
(like
spaces,
number
leading
optional.
examples
grammar,
surcharge
Fragile
is
Otherwise,
ifhandles
the
travel
greater
aas
Over
again.
This
that
category
formula.
to
than
B2
to
comparing
spaces
expenses
space
(comparing
or
the
can
isBudget
This
equal
TRUE
FALSE
extra
and
of
cell
because
the
than
B2
formula
its
be
the
isand
is
of
to
variations
value
from
spaces
and
0.
to
the
and
evaluated
TRUE,
FALSE,
IF
merchandise
and
another,
are
fragile.
text
its
function.
its
value
Budgeted
we
text
awe
ifwill
over
Within
not
text
the
in
with
fragile.
return
dont
return
dont
with
help.
of
text
returning
ifsuch
logical_test
or
string
tothe
aBudget)
within
the
TRUE
provide
function
strings.
Over
provide
Getting
Within
expense,
requires
as
IF
logical_test
except
IFfunction
C2
or
Budget.
function
the
budget.
must
Budget.
greater
the
FALSE,
evaluates
the
may
this
aresults
Status
for
shipping
value
value
wrong
in
be
evaluates
not
single
isathan
in
not
Iisfew
return
for
expect.
for
to
quotes.
Over
would
spaces
surcharge.
case
B2.
TRUE.
value_if_true,
minutes.
value_if_false,
to
the
Budget.
sensitive),
FALSE.
take
between
results
But
75Otherwise,
first,
dollars
the
we
the
words.
expect.
function
afunction
quick
peritsmistake
IFWithin
returns
returns
function
out
0.0.
refresher.
Budget.
of
our revenue.
Press F5 to start, Esc to stop

2
3:23

Advanced IF

3
3:31

Nested IF

1/5 videos

4
3:35

IF, AND and OR

5
5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

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,
me
copying
pressing
evaluates
function
want
nest
use
then
the
continues
is
FALSE,
IF
greater
greater
B2
10,000
formula
another
you
function
show
score
sales,
sales
IF
commission
than
additional
an
IF
multiply
greater
to
greater
functions,
his
to
with
IF
B2
determine
the
F4
returns
than
or
are
has
you
than
to
B2,
in
test
function
commission
for
we
example
example.
greater
to
equal
AND
has
B2
formula.
TRUE,
FALSE,
greater
than
already
than
are
the
why.
or
multiple
greater
make
must
nested
or
isone
the
percentage
meaning
equal
greater
equal
result
and
to
or
or
itby
athan
Sales
test
value
where
ittest
80
returns
We
students
than
equal
been
equal
IF
OR
setting
than
an
criteria
isto
by
to
isB2
or
functions
want
0.
and
than
greater
absolute
90
one
functions.
essentially
or
in
10,000
5,000
his
evaluated
the
equal
to
or
greater
to
varies
the
G4
equal
evaluates
two
value_if_false
90
sales.
and
equal
to
grade
or
10,000
IForder
value
is
function
determine
has
equal
than
to
possible
is
0.
to
essentially
cell
increases
depending
to
than
tested
80
to
greater
test
based
already
of
as
or
5,000,
or
in
reference),
to
70
is
to
the
FALSE,
greater
or
G2,
for
equal
evaluated.
inside
TRUE,
10,000
90,
and
outcomes,
first.
to
equal
formula
on
commissions
his
the
C,
than
5%.
been
greater
IF
return
on
60.
their
D,
to
commission
of
B2
the
number
than
(the
to
how
or
and
the
5,000
Fanother,
evaluated
greater
matters.
score.
formula
is
90
equal
an
than
or
TRUE
commission
cursor
Fthe
much
first,
A.
grades.
is
equal
of
for
final
evaluated
or
to
than
possible
or
and
is
returns
theyve
our
isto
equal
80
2%.
FALSE.
to
value_if_false.
next
FALSE,
or
and
then
sales
5,000
isequal
to
to
A
outcomes.
5%.
sold.
next.
less
B2
5,000
and
staff.
the
isIm
greater
than
to
TRUE,
cell
were
80,
and
pressing
reference;
90.
return
done.
less
thanthan
F4
or
B. again.
equal
10,000.
to 80,
and so on.
Press F5 to start, Esc to stop

2
3:23

Advanced IF

3
3:31

Nested IF

2/5 videos

4
3:35

IF, AND and OR

5
5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

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,
copying
returns
all
the
at
can
formula
least
their
cursor
arguments
take
look
Bob
well
were
returns
is
arguments
looking
least
example,
logical_test
all
at
As,
nested
of
IF
score
see
the
least
all
arguments
one
score
aat
and
function,
the
extend
we
looking
TRUE
is
look
one
greater
that
the
how
will
COUNTIFS
TRUE
next
need
on
tests
test
one
Mo
for
inon
in
A,
formula.
OR
at
test
only
Test
that
the
in
ifthe
students
evaluates
is
to
have
the
argument
Test
we
how
when
any
are
for
when
to
the
than
isgreater
in
to
the
IF
Mo
2functionality
worked.
nested
know
OR
need
students
greater
the
2argument
3
is
see
function
OR
at
that
and
cell
is
all
or
logical_test
greater
has
function
least
who
AND
greater
iffunction
equal
arguments
to
ifthan
worked.
SUMIFS
reference;
in
all
all
aIts
know
FALSE,
than
one
the
who
have
students
of
and
As.
function
than
or
similar
isto
of
the
evaluate
than
AND
IF
TRUE
A.
or
equal
evaluates
functions.
have
is
90
ifthe
evaluates
all
the
function
or
conditions
aequal
the
evaluate
Im
the
As
or
students
to
IF
function
score
evaluate
equal
function
and
at
to
logical_test.
equal
function
pressing
on
the
IF
to
least
to
90,
function
to
FALSE
their
FALSE,
and
to
nested
on
to
90,
to
the
TRUE,
to
are
evaluates
TRUE,
score
one
90,
to
Test
returns
TRUE,
is
ittests
90
90.
by
F4
IF
when
TRUE,
returns
true.
the
IF
or
A
AND
1
returns
function
(Im
nesting
to
IF
on
returns
the
on
their
is
using
logical
and
returns
make
value_if_false.
Ifgreater
all
Test
pressing
IF
to
their
function.
IF
so,
No.
arguments
score
returns
FALSE
FALSE,
function
Yes;
IF
AND
1the
returns
ittest.
tests,
with
is
the
an
than
ifgreater
value_if_false.
result
on
F4
and
when
not,
absolute
value_if_true.
the
IF
ausing
Test
returns
again),
Yes.
nested
returns
orOR
are
itvalue_if_true.
ofat
equal
returns
than
3the
IF
functions.
FALSE.
least
iscell
value_if_true.
with
AND
greater
the
IF
or
toreference),
one
function
No.
equal
value_if_false.
90
afunction.
nested
argument
than
tois90,
or
OR
TRUE.
equal
function.
evaluates
to 90.
to FALSE.
Press F5 to start, Esc to stop

2
3:23

Advanced IF

3
3:31

Nested IF

3/5 videos

4
3:35

IF, AND and OR

5
5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

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,
using
can
they
can
is
and
we
the
walk
we
additional
cell
criteria_range
contain
we
East
the
example
results
F4
Ithan
do
select
adds
use
function
is
can
select
want
dont
the
Sue
select
two,
in
athrough
to
function
syntax
only
required.
region
applies
only
this
cell
is
the
the
make
AVERAGEIFS
easily
or
are
the
required.
of
itto
the
have
the
reference
the
sales
is
with
sum_range
there
equal
then
range
criteria2,
ifthe
question
determine
the
evaluates
of
same
cells
required.
number
there
the
ALL
Region
range
this.
this
criteria
change
first
adds
cell
criteria
range
argument
the
to
function
the
Its
person
evaluates
salespeople
are
to
total
in
must
of
an
be
Its
range
cell
number
the
COUNTIFS
SUMIFS
is
SUMIFS
the
50,
aof
the
and
two,
for
mark
of
and
absolute
one
cell
adjacent
of
to
similar
one
range
itsales
that
range
Its
argument
how
criteria
cells
the
have
in
cells
from
needs
sales
ifthe
corresponding
cells
isso
for
range,
Bob
IFERROR
the
person
Icell
or
how
Bobs
the
and
sales,
want
of
function.
many
we
function.
by
on
criteria
that
the
for
from
to
for
we
more
the
across
first
people
rows
G2.
by
and
function.
range
cell
to
sales
want
asterisk
are
many
the
the
the
and
sales
number
want
same
to.
by
meet
East
which
meet.
each
with
cells
range
the
reference.
Sue.
functions.
optional.
cells
and
COUNTIFS
instead
number
multiple
region,
East
reps
to
Iwill
by
have
region
figure.
to
range
press
50
number
in
other.
multiple
wildcard
add,
criteria
criteria_range1
In
columns
to
region
thats
evaluate,
be
region.
of
the
with
or
this
sum.
orders
of
orders
where
F4
evaluated
more
in
of
ranges
to
Region
hard
orders
evaluated.
case,
function.
this
to
specified
cells
orders
of
who
criteria.
meet
Blank
characters
as
make
rows
greater
orders.
the
the
and
case
coding
the
the
in
and
have
cell
columns
greater
all
and
four
sales
by,
the
and
the
is
sum_range
region
this
the
of
are
range,
counts
evaluated.
fifty
in
than
Sales
text
the
itregions
criteria
in
columns
an
person
range
this
TRUE
into
than
criteria.
range
or
criteria,
is
values
absolute
or
B2
column
the
case
more
East.
the
equal
or
for
of
itthrough
in
argument.
has
number
needs
of
as
cells
equal
formula
the
East,
that
are
greater
orders,
cells
criteria_range1,
fifty
to
where
cell
Region
ignored.
in
cell.
cell
50,
50.
to
B7,
or
are
reference.
the
ofmeet,
50
cell
For
than
we
F2.
more
all
times
are
equal
Sales
column.
isthe
use
East,
G2.
equal
$49,017.
ororders.
all
corresponding
column.
to
the
In
equal
its
criteria
East.
this
to
COUNTIFS
just
East.
to
case
There
Bob.
50,
areits
in
met.
are
function.
just
cell
two.
criteria
G2.
Bob.are met.
Press F5 to start, Esc to stop

2
3:23

Advanced IF

3
3:31

Nested IF

4/5 videos

4
3:35

IF, AND and OR

5
5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

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
show
we
these
course,
criteria_range
check
pressing
putting
can
can
average
isthe
we
walk
well
youve
of
we
notice
isare
North
the
saw
all
in
are
the
do
enhance
required.
select
see
use
you
function
isselect
two,
returns
out
corresponding
through
the
two,
select
determine
only
function
syntax
required.
before,
ittheres
this
no
the
cells
that
got
the
that
F4
returns
why
region,
of
the
average
SUMIFS
isthe
cells
Mo
sales
AVERAGEIFS
the
is
with
to
Mo
criteria2,
also
question
athe
in
the
the
evaluates
course
of
must
and
required.
Its
always
make
range
pretty
this.
the
and
the
averages
criteria
range
that
and
the
the
Its
first
for
person
the
South
required.
value
average
formula
the
how
then
calculation
average
be
average_range
Its
Dave
the
AVERAGEIFS
IFERROR
sales
Daves
AVERAGEIFS
meet
result
this
average
summary
argument
range
criteria
of
good
average
and
more
mark
of
the
similar
by
specified,
to
Its
region
how
criteria
evaluates
cells
in
cells
function
an
the
are
people
with
handle
for
so
which
all
same
the
one
of
Its
the
idea
sales
to
of
for
and
absolute
are
many
we
on
cells
the
the
of
function.
for
to
what
sales
only
cells
learn.
first
no
the
South
the
at
by
or
that
want
all
asterisk
about
are
size
met.
the
is
criteria,
the
in
formula.
function.
salespeople
South
having
this
function.
inside
the
how
from
longer
more
which
IFERROR
cells
range
South
$63,370.
ifwe
IFERROR
this
by
is
optional.
SUMIFS
range
and
all
number
cell
region
end,
in
to
checked
want
region,
many
how
the
case
of
in
region
that
cells
aan
wildcard
average,
criteria_range1
50
AVERAGEIFS
returns
reference.
shape
thats
region
minute.
the
and
is
range
IFERROR
to
function
or
to
meet
and
function.
NA,
returns
have
to
evaluated,
of
for
Region
corresponding
where
use
evaluate,
more
is
best
for
evaluated.
average.
as
orders
returns
an
she
aNorth
characters
ifin
of
multiple
orders
IF
an
average_range.
divide
AVERAGEIFS
error.
of
this
cells
iffunction.
orders,
to
functions
the
has
error.
column
returns
the
all,
and
handle
region.
in
case
ais
the
Blank
sales
in
fewer
greater
by
explore
divide
value
evaluated.
this
criteria.
the
in
range
their
zero
cells
criteria
the
contain
person
case
in
criteria.
and
this
than
Sales
criteria
argument
evaluates
by
Excel.
than
average
divide
error.
Excel
D2
of
and
text
East,
zero
50
specified
column
cells
to
ahas
or
itother
orders.
values
2013
specific
by
D7
cell
error.
needs
equal
fifty
to
in
sales
returns
zero
inthe
F2.
an
on
error
the
are
orto
are
region.
error;
(#DIV/0!)
Region
your
more
50.
Sales
an
TRUE
meet.
ignored.
conditions.
$63,370.
error.
own.
For
orders.
In
column.
for
column.
North
this
error.
that
example,
cell.
this is
North.Mo and Dave.
both
Press F5 to start, Esc to stop

2
3:23

Advanced IF

3
3:31

Nested IF

5/5 videos

4
3:35

IF, AND and OR

5
5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

Help

Help summaryAdvanced IF functions


Course

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.

COUNTIFS and SUMIFS

More training courses


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

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 stop

2
3:23

Advanced IF

3
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!


Please tell us what you think
Check out more courses

Press F5 to start, Esc to stop

2
3:23

Advanced IF

3
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

Stopping a course

Going places

If you download a course and the videos dont play


get the PowerPoint Viewer.
upgrade to PowerPoint 2013

player

the QuickTime

Press F5 to start, Esc to stop

2
3:23

Advanced IF

3
3:31

Nested IF

4
3:35

IF, AND and OR

5:31

COUNTIFS

Summary

Feedback

Help

4:51

AVERAGEIFS

You might also like