1
00:00:02,900 --> 00:00:06,490
Is 60 above a five-day
average of 50 million riels?

2
00:00:08,940 --> 00:00:12,740
Higher, because 60 is greater than
the five-day average of 50 million riels.

3
00:00:13,647 --> 00:00:16,861
A fixed benchmark can become
outdated after inputs change.

4
00:00:16,861 --> 00:00:20,739
The average function supplies a new
benchmark from the intended range.

5
00:00:20,739 --> 00:00:24,008
IF then returns the message
associated with the comparison.

6
00:00:24,008 --> 00:00:26,945
A function used inside
another is a nested function,

7
00:00:26,945 --> 00:00:29,771
for example AVERAGE inside
IF, or SUM inside ROUND.

8
00:00:30,771 --> 00:00:37,607
Return to the book's five daily sales,
40, 60, 80, 50 and 20 million riels.

9
00:00:37,607 --> 00:00:39,316
Their average is 50.

10
00:00:41,166 --> 00:00:45,413
Compare Tuesday's 60 with
the average of B4 through B8.

11
00:00:45,413 --> 00:00:47,885
It is higher, so the message is Higher.

12
00:00:47,885 --> 00:00:50,357
Put the AVERAGE calculation inside IF,

13
00:00:50,357 --> 00:00:53,717
without its own equals sign,
and close every bracket.

14
00:00:55,567 --> 00:01:00,747
The false message says At or below, which
also covers a value exactly equal to 50.

15
00:01:02,747 --> 00:01:06,091
Watch out for pasting AVERAGE
with its own equals sign.

16
00:01:06,091 --> 00:01:09,921
After the greater-than sign it
makes greater than or equal to,

17
00:01:09,921 --> 00:01:12,171
so Thursday's 50 would say Higher.

18
00:01:13,171 --> 00:01:14,002
Your turn.

19
00:01:14,002 --> 00:01:20,400
Keep the other values but change only
Tuesday's 60 to 40 million riels.

20
00:01:20,400 --> 00:01:23,142
What is the five-day average now?

21
00:01:27,092 --> 00:01:30,708
Remember to understand each
function before combining them.
