Você está na página 1de 10

Count Functions:

COUNT(value1, value2,...)
COUNT
Counts the number of cells that contain numbers
COUNTA(value1, value2,...)
COUNTA
Counts the number of cells that are not empty.
COUNTBLANK COUNTBLANK(value1, value2,...)
Counts the number of empty cells in a specified range
COUNTIF
COUNTIF(range, criteria)
Count the values in a range that meet specified criteria.
COUNTIFS
COUNTIFS(criteria range1, criteria1, criteria range2, criteria2)
Applies criteria to cells across multiple ranges and counts the number of times all criteria are met.

Part Number Type


11164539
11164540
11164541
11164542
11164544
11164545
11164546
11164547
11164548
11164549
11164550
11164551
11164556
11164557
11164558
11164559
11164560
11164561
11164562
11164563
11164564
11164565
11164567
11164568
11164569
11164570
11164571
11164572

RT
AC
AB
RT
AC
DE
DE
DE
DB
DE
DB
RT
DE
AB
DE
AC
RT
RT
DE
DE
AC
RT
AB
AC
DE
DB
DE
AB

Department
Dept 2
Dept 5
Dept 4
Dept 2
Dept 5
Dept 5
Dept 2
Dept 4
Dept 5
Dept 4
Dept 1
Dept 2
Dept 4
Dept 2
Dept 1
Dept 1
Dept 5
Dept 3
Dept 2
Dept 1
Dept 5
Dept 2
Dept 3
Dept 1
Dept 3
Dept 3
Dept 5
Dept 4

11164574
11164575
11164579
11164580
11164581
11164582
11164583
11164584
11164585
11164586
11164587
11164591

RT
AB
AC
DE
RT
AB
DE
DB
DB
RT
RT
AC

Dept 1
Dept 5
Dept 4
Dept 4
Dept 4
Dept 1
Dept 2
Dept 4
Dept 3
Dept 3
Dept 1
Dept 3

Manager has collected the information about different product types and their
salesa across different departments. He would like to compare:
1. The revenue earned by sales of each product.
2. Compare the of departments.
3. Compare the performance of different departments with respect to different
products.

es all criteria are met.

Cost
Quantity Total Value
55.30
15
829.50
69.58
7
487.06
47.87
1
47.87
16.22
5
81.10
54.36
74.45
13
967.85
52.03
11
572.33
25.74
8
205.92
39.12
14
547.68
10.97
3
32.91
18.56
12
222.72
45.80
17
778.60
88.39
2
176.78
79.08
12
948.96
15.28
7
106.96
2.77
15
41.55
40.96
25.07
12
300.84
0.84
12
10.08
9.42
3
28.26
16.02
7
112.14
77.83
4
311.32
1.54
15
23.10
9.81
1
9.81
1.77
8
14.16
7.99
13
103.87
23.54
10
235.40
71.10
4
284.40

type
AB
AC
DB
DE
RT

number
6
7
5
12
10

Number
Dept 1
Dept 2
Dept 3
Dept 4
Dept 5
type
AB
AC
DB
DE
RT

8
8
7
9
8

Dept 1

Dept 2
1
2
1
2
2

Dept 3
1
0
0
3
4

1
1
2
1
2

64.64
50.87
27.60
46.85
1.18
35.00
12.13
51.16
27.88
2.31
1.96
0.92
-

5
19
3
9
16
10
13
5
2
16
5
4

323.20
966.53
82.80
421.65
18.88
350.00
157.69
255.80
55.76
36.96
9.80
3.68
10,163.92

total revenue by product type

total revenue by department

Type
AB
AC
DB
DE
RT

Dept
Dept 1
Dept 2
Dept 3
Dept 4
Dept 5

Revenue
2620.86
737.04
1185.83
2929.99
2690.2

Dept 1
AB
AC
DB
DE
RT

Dept 2
350

Dept 3
350

Dept 4
350

350

roduct types and their


mpare:

ith respect to different

Dept 4

Dept 5
2
1
1
4
1

1
3
1
2
1

total revenue by department


Revenue
1092.3
3689.58
538.37
1527.01
3316.66

Dept 5
350

Conditional Sum and Average functions

SUM
Adds all the numbers in the range
SUMIF
Sum the values in a range that meet specified criteria.
SUMIFS
Adds the cells in a range that meet multiple criteria.
AVERAGE
Returns the average (arithmetic mean) of the arguments.
AVERAGEIF
Average the values in a range that meet specified criteria.
AVERAGEA
Returns the average (arithmetic mean) of the arguments,evaluating text and logical tests. Arguments can be n
STDEV
Estimates standard deviation based on the sample
Part Number
11164539
11164540
11164541
11164542
11164544
11164545
11164546
11164547
11164548
11164549
11164550
11164551
11164556
11164557
11164558
11164559
11164560
11164561
11164562
11164563
11164564
11164565
11164567
11164568
11164569
11164570
11164571

11164572
11164574
11164575
11164579
11164580
11164581
11164582
11164583
11164584
11164585
11164586
11164587
11164591

SUM(range)
SUMIF(range, criteria, sum range)
SUMIFS(sum range, criteria range1, criteria1, criteria range2, criteria2, )
AVERAGE(number1, number2,...)
AVERAGEIF(range, criteria, average range)

AVERAGEA(number1,[number2],..)
ts,evaluating text and logical tests. Arguments can be names, arrays or references.
STDEV(range)

Type
RT
AC
AB
RT
AC
DE
DE
DE
DB
DE
DB
RT
DE
AB
DE
AC
RT
RT
DE
DE
AC
RT
AB
AC
DE
DB
DE

DepartmentCost
Quantity Total Value
Dept 2
55.30
15
829.50
Dept 5
69.58
7
487.06
Dept 4
47.87
1
47.87
Dept 2
16.22
5
81.10
Dept 5
54.36
none
Dept 5
74.45
13
967.85
Dept 2
52.03
11
572.33
Dept 4
25.74
8
205.92
Dept 5
39.12
14
547.68
Dept 4
10.97
3
32.91
Dept 1
18.56
12
222.72
Dept 2
45.80
17
778.60
Dept 4
88.39
2
Dept 2
79.08
12
948.96
Dept 1
15.28
7
106.96
Dept 1
2.77
15
41.55
Dept 5
40.96
Dept 3
25.07
12
300.84
Dept 2
0.84
12
10.08
Dept 1
9.42
3
28.26
Dept 5
16.02
7
112.14
Dept 2
77.83
4
311.32
Dept 3
1.54
15
23.10
Dept 1
9.81
1
9.81
Dept 3
1.77
8
14.16
Dept 3
7.99
13
103.87
Dept 5
23.54
10
235.40

AB
RT
AB
AC
DE
RT
AB
DE
DB
DB
RT
RT
AC

Dept 4
Dept 1
Dept 5
Dept 4
Dept 4
Dept 4
Dept 1
Dept 2
Dept 4
Dept 3
Dept 3
Dept 1
Dept 3

71.10
64.64
50.87
27.60
46.85
1.18
35.00
12.13
51.16
27.88
2.31
1.96
0.92

4
5
19
3
9
16
10
13
5
2
16
5
4

284.40
323.20
966.53
82.80
421.65
18.88
350.00
157.69
255.80
55.76
36.96
9.80
3.68

Você também pode gostar