0% found this document useful (0 votes)
40 views3 pages

Countif&sumif Prac

This document contains sales data for different clients, products, colors, and dates. It includes various formulas to calculate sums, counts, averages, and other metrics based on the sales data. For example, it calculates that the total units sold by Jones of hats and coats in December 2007 is 19.

Uploaded by

shaistha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views3 pages

Countif&sumif Prac

This document contains sales data for different clients, products, colors, and dates. It includes various formulas to calculate sums, counts, averages, and other metrics based on the sales data. For example, it calculates that the total units sold by Jones of hats and coats in December 2007 is 19.

Uploaded by

shaistha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 3

A B C D E F G H I J K L M N

1 Sales Data
2 Dates Clients Prods Colors Units 15 =SUMIF(Units,"=5")
3 5 15 =SUMIF(Units,"=5", Units)
4 Nov-27 Smith Hats White 7
5 Nov-28 Jones Hats White 5 3 =COUNTIF(Units,"=5")
6 Nov-28 Smith Hats White 4
7 Nov-30 Jones Hats White 7 15 =SUMIF(Units,"="&J3)
8 Dec-1 Smith Hats Blue 4 15 =SUMIF(Units,"="&J3, Units)
9 Dec-2 Jones Hats Blue 8
10 Dec-2 Smith Hats Blue 6 3 =COUNTIF(Units,"="&J3)
11 Dec-3 Jones Coats White 1
12 Dec-3 Smith Coats White 1 Array 15 =SUM(IF(Units=5,Units,0))
13 Dec-3 Jones Coats White 5 Formulas 15 =SUM(IF(Units=J3,Units,0))
14 Dec-4 Smith Coats Blue 2
15 Dec-5 Jones Coats Blue 5 3 =SUM(IF(Units=5,1,0))
16 Dec-8 Smith Coats Blue 3 3 =SUM(IF(Units=J3,1,0))
17
18 =AVERAGE(IF(Units=5,Units,""))
5 =AVERAGE(IF(Units=J3,Units,""))
19
20
21 41 =SUMIF(Prods,"=Hats", Units)
22 7 =COUNTIF(Prods,"=Hats")
23
24 41 =SUM(IF(Prods="Hats",Units,0))
25 7 =SUM(IF(Prods="Hats",1,0))
26
27 41 =SUM(IF(Prods="Hats",Units,0))
28
29 15 =SUM(IF((Clients="Smith")*(Colors="Blue"),Units,0))
30 4 =SUM(IF((Clients="Smith")*(Colors="Blue"),1,0))
31 4 =AVERAGE(IF((Clients="Smith")*(Colors="Blue"),Un
32
33 7 =SUM(IF((Prods="Coats")*(Colors="White"),Units,0))
34 6 =SUM(IF((Prods="Coats")*(Colors="White")*(Clients
35 6 =SUM(IF((Prods="Coats")*(Colors="White")*(Clients
36
37 19 =SUM(IF((Dates>=DATE(2007,12,1))*(Dates<=DATE
38 19 =SUM(IF((Dates>=FirstDate)*(Dates<=LastDate)*(C
39
40 6 =MAX(IF((Clients="Smith")*(Colors="Blue"),Units,""))
41 2 =MIN(IF((Clients="Smith")*(Colors="Blue"),Units,""))
42 5 =LARGE(IF((Clients="Jones")*(Colors="Blue"),Units,
43 7 =SMALL(IF((Clients="Jones")*(Prods="Hats"),Units,"
44 6 =MEDIAN(IF((Colors="White")*(Prods="Hats"),Units,
O P Q R S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
E(IF(Units=J3,Units,""))
19
20
21
22
23
24
25
26
27
28
29
Clients="Smith")*(Colors="Blue"),Units,0))
30
Clients="Smith")*(Colors="Blue"),1,0))
31
E(IF((Clients="Smith")*(Colors="Blue"),Units,""))
32
33
Prods="Coats")*(Colors="White"),Units,0))
34
Prods="Coats")*(Colors="White")*(Clients="Jones"),Units,0))
35
Prods="Coats")*(Colors="White")*(Clients="Jones")*(MONTH(Dates)=12),Units,0))
36
37
Dates>=DATE(2007,12,1))*(Dates<=DATE(2008,1,0))*(Clients="Jones"),Units,0))
38
Dates>=FirstDate)*(Dates<=LastDate)*(Clients="Jones"),Units,0))
39
40
Clients="Smith")*(Colors="Blue"),Units,""))
41
Clients="Smith")*(Colors="Blue"),Units,""))
42
F((Clients="Jones")*(Colors="Blue"),Units,""),2)
43
F((Clients="Jones")*(Prods="Hats"),Units,""),2)
44
IF((Colors="White")*(Prods="Hats"),Units,""))
A B C D
1 ReportMonth Dec-07
2 Client Jones
3 FirstDate 12/1/2007
4 LastDate 12/31/2007
5 Error 0
6
7 Unit Sales, Jones December 2007
8 White Blue Total
9 Hats 0 8 8
10 Coats 6 5 11
11 Total Products 6 13 19

You might also like