Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 13

Mini Challenge: Lookup Functions

Food2Go has a dedicated feedback portal to keep track of customer complaints and su
portal aggregates customer reviews and rations into an Excel worksheet. This month, I
that a couple of customers complained about food quality.

1. Use a VLOOKUP function to look up the Food Quality Rating categories for Column C
scores in Column B. Cell values should return Terrible, Bad, Average, Good or Excellen

2. How many customers have rated food quality as Terrible? What about the other ca
a COUNTIF function to fill in the second table)

3. Compare your answers with "Solution" worksheet tab.


er complaints and suggestions. The
sheet. This month, Ishan has heard

egories for Column C based on the


ge, Good or Excellent.

t about the other categories? (Use


Customer Food Ratings
Customer No. Food Quality Score Food Quality Rating
1 42 Average
2 76 Good
3 47 Average
4 91 Excellent
5 91 Excellent
6 50 Average
7 41 Average
8 90 Excellent
9 42 Average
10 61 Good
11 83 Excellent
12 87 Excellent
13 89 Excellent
14 80 Excellent
15 70 Good
16 59 Average
17 65 Good
18 72 Good
19 79 Good
20 72 Good
21 87 Excellent
22 81 Excellent
23 40 Average
24 82 Excellent
25 51 Average
26 84 Excellent
27 60 Good
28 72 Good
29 51 Average
30 67 Good
31 58 Average
32 78 Good
33 88 Excellent
34 60 Good
35 61 Good
36 62 Good
37 44 Average
38 41 Average
39 54 Average
40 81 Excellent
41 69 Good
42 47 Average
43 17 Terrible
44 19 Terrible
45 100 Excellent
46 43 Average
47 68 Good
48 74 Good
49 60 Good
50 50 Average
51 51 Average
52 69 Good
53 77 Good
54 19 Terrible
55 93 Excellent
56 61 Good
57 72 Good
58 69 Good
59 88 Excellent
60 74 Good
61 94 Excellent
62 69 Good
63 71 Good
64 97 Excellent
65 41 Average
66 59 Average
67 47 Average
68 75 Good
69 47 Average
70 40 Average
71 73 Good
72 100 Excellent
73 68 Good
74 48 Average
75 21 Bad
76 55 Average
77 43 Average
78 62 Good
79 44 Average
80 23 Bad
81 67 Good
82 48 Average
83 50 Average
84 77 Good
85 61 Good
86 52 Average
87 50 Average
88 66 Good
89 46 Average
90 90 Excellent
91 41 Average
92 65 Good
93 83 Excellent
94 70 Good
95 89 Excellent
96 92 Excellent
97 30 Bad
98 69 Good
99 22 Bad
100 30 Bad
Min. Score Max. Score Rating
0 20 Terrible
20 40 Bad
40 60 Average
60 80 Good
80 100 Excellent

Food Quality No. of Ratings


Terrible 3
Bad 5
Average 32
Good 37
Excellent 23
Customer Food Ratings
Customer No. Food Quality Score Food Quality Rating
1 42 Average
2 76 Good
3 47 Average
Mini Challenge: Lookup Functions
4 91 Excellent
5
Solution 91 Excellent
6 50 Average
1. Use a VLOOKUP function to look up the Food Quality Rating categories fo
on the 7scores in Column41 B. Cell values shouldAverage
return Terrible, Bad, Average,
8 90 Excellent
VLOOKUP9 function syntax42 in Cell C3. Average
lookup_value
10 = B3 (relative
61 cell references) Good
table_array = $E$3:$G$7. Remember to lock this legend in by using absolute
11
col_index_num = 3 83 Excellent
range_lookup
12 = TRUE-87we are looking for an Excellent
approximate match.
13 89 Excellent
2. How many customers have rated food quality as Terrible? 3 customers.
14 80 Excellent
COUNTIF
15 function syntax70 to find out the number of terrible ratings -
Good
=COUNTIF($C$3:$C$102,
16 59 "Terrible") Average
17 65 Good
18 72 Good
19 79 Good
20 72 Good
21 87 Excellent
22 81 Excellent
23 40 Average
24 82 Excellent
25 51 Average
26 84 Excellent
27 60 Good
28 72 Good
29 51 Average
30 67 Good
31 58 Average
32 78 Good
33 88 Excellent
34 60 Good
35 61 Good
36 62 Good
37 44 Average
38 41 Average
39 54 Average
40 81 Excellent
41 69 Good
42 47 Average
43 17 Terrible
44 19 Terrible
45 100 Excellent
46 43 Average
47 68 Good
48 74 Good
49 60 Good
50 50 Average
51 51 Average
52 69 Good
53 77 Good
54 19 Terrible
55 93 Excellent
56 61 Good
57 72 Good
58 69 Good
59 88 Excellent
60 74 Good
61 94 Excellent
62 69 Good
63 71 Good
64 97 Excellent
65 41 Average
66 59 Average
67 47 Average
68 75 Good
69 47 Average
70 40 Average
71 73 Good
72 100 Excellent
73 68 Good
74 48 Average
75 21 Bad
76 55 Average
77 43 Average
78 62 Good
79 44 Average
80 23 Bad
81 67 Good
82 48 Average
83 50 Average
84 77 Good
85 61 Good
86 52 Average
87 50 Average
88 66 Good
89 46 Average
90 90 Excellent
91 41 Average
92 65 Good
93 83 Excellent
94 70 Good
95 89 Excellent
96 92 Excellent
97 30 Bad
98 69 Good
99 22 Bad
100 30 Bad
Min. Score Max. Score Rating
0 20 Terrible
20 40 Bad
40 60 Average
60 80 Good
80 100 Excellent

ality Rating categories for Column C based


Food
Terrible, Bad, Average, GoodQuality No. of Ratings
or Excellent.
Terrible 3 Review
The COUNTIF function is
Bad 5
used here to count the No.
Average 32
gend in by using absolute cell references. of Ratings for each food
Good 37
quality category.
imate match. Excellent 23
Terrible? 3 customers.

terrible ratings -
on is
he No.
ood

You might also like