Question
(a) Explain the differences between a VLOOKUP function and a LOOKUP function.
…… [3]
(b) A spreadsheet contains a list of staff and the rooms they work in at a school.
A B C D E
1 Room Department Name
2 29 Languages Aaron Garcia 31 =VLOOKUP(D2,A2:C7,3)
3 30 History Julieta Diaz
4 28 Chemistry Ernesto Fernandez
5 26 Biology Salvador Calbo
6 31 ICT David James
7 49 Mathematics Adriene Martinez
(i) Explain, in detail, what the formula in cell E2 does.
…… [3]
(ii) When certain room numbers are typed into cell D2 unexpected results appear in cell E2.
Suggest improvements that could be made to ensure the correct result is displayed.
…… [2]
A teacher in the school has created a spreadsheet to display whether a student has good timekeeping when arriving at lessons. He has produced a formula but thinks it could be improved.
The formula is:
=IF(B4>=A$18,B$18,IF(B4>=A$17,B$17,IF(B4>=A$16,B$16,IF(B4>=A$15,B$15,IF(B4>=A$14,B$14,"")))))
A B C
1
2 Name of Student
3 Half term Lates
4 1 17 =IF(B4>=A$18,B$18,IF(B4>=A$17,B$17,IF(B4>=A$16,B$16,IF(B4>=A$15,B$15,IF(B4>=A$14,B$14,"")))))
5 2 20
6 3 1
7 4 12
8 5 18
9 6 0
10
11
12
13
14 0 Excellent
15 1 Very Good
16 5 Good
17 15 Poor
18 25 Very Poor
19
(c) Write down the value that should appear in cell C4.
…… [1]
(d) The teacher has improved the formula and has typed in =VLOOKUP(B4,A$14:B$18,2)
Explain the advantages of using this formula compared to the original one.
…… [4]
Mark scheme
10(a) Three from: 3
LOOKUP allows for horizontal and vertical searching whereas VLOOKUP
allows for vertical searching
LOOKUP does not require an index value/only works on the second
row/column whereas VLOOKUP requires an index value
LOOKUP usually only works when the data is sorted
VLOOKUP only returns data to the right of the searched column
VLOOKUP user can select either an approximate or exact match to the
lookup value
10(b)(i) Three from: 3
The formula looks up the value in D2…
…In the (range) A2 to A7
And returns the corresponding value
In the 3rd column/Column C
10(b)(ii) Add FALSE/0 to the end of the formula – 1 mark 2
Sort the range into ascending order of column A – 1 mark
10(c) Poor 1
10(d) Four from: 4
Quicker to type in the formula
Fewer mistakes when typing in the formula
Easier to spot mistakes
Easier to expand the range
Takes up less storage space
Easier to remember when retyping