Excel Formulas and Data Analysis Course: Lookups: XLOOKUP, VLOOKUP, INDEX/MATCH and IFERROR
Quiz thématique sans limite de temps : 15 questions sur Lookups: XLOOKUP, VLOOKUP, INDEX/MATCH and IFERROR, avec une explication après chaque réponse. Les questions et les réponses sont mélangées à chaque fois.
Quiz thématique 3 : Lookups: XLOOKUP, VLOOKUP, INDEX/MATCH and IFERROR
Question 1 sur 15
Voir la réponse
Réponse: D. Exact match
Exact match (0) is the default for XLOOKUP. If nothing matches, it returns #N/A.
Question 2 sur 15
Voir la réponse
Réponse: D. 39
XLOOKUP finds ALM-11 in column A and returns the value from the same row of D2:D7, the price 39.
Question 3 sur 15
Voir la réponse
Réponse: C. LCK-05
XLOOKUP can return a value from a column to the left of the lookup column. Smart lock is in row 6, and its code is LCK-05.
Question 4 sur 15
Voir la réponse
Réponse: B. 119
VLOOKUP finds LCK-06 in the first column and returns column 4 of the range (Price), which is 119. FALSE asks for an exact match.
Question 5 sur 15
Voir la réponse
Réponse: B. #N/A
VLOOKUP only searches the first column of the range (column A, the codes). "Smart lock" is not there, so the exact match fails with #N/A.
Question 6 sur 15
Voir la réponse
Réponse: D. #REF!
The range A2:E7 has only 5 columns. When col_index_num is greater than the number of columns, VLOOKUP returns #REF!.
Question 7 sur 15
Voir la réponse
Réponse: C. Approximate match
If range_lookup is left out, VLOOKUP uses approximate match (TRUE), which expects the first column to be sorted. Use FALSE for an exact match, such as for codes.
Question 8 sur 15
Voir la réponse
Réponse: D. Not listed
CAM-09 is not in column A, so XLOOKUP returns the if_not_found value you supplied, "Not listed".
Question 9 sur 15
Voir la réponse
Réponse: C. #N/A
With no match and no if_not_found argument, XLOOKUP returns the #N/A error.
Question 10 sur 15
Voir la réponse
Réponse: B. 5
MATCH returns the position of the item in the range, not the value. LCK-05 is the 5th cell in A2:A7 (it sits in row 6 of the sheet).
Question 11 sur 15
Voir la réponse
Réponse: B. 24.75
INDEX returns the value at a position in a range. The 3rd cell of D2:D7 is D4, which holds 24.75.
Question 12 sur 15
Voir la réponse
Réponse: B. Smart lock
MATCH finds 229 at position 5 of D2:D7. INDEX then returns the 5th item of B2:B7, Smart lock.
Question 13 sur 15
Voir la réponse
Réponse: C. 0
ALM-12 is not in the list, so VLOOKUP gives #N/A. IFERROR catches the error and returns 0 instead.
Question 14 sur 15
Voir la réponse
Réponse: C. IFNA
IFNA only replaces #N/A. IFERROR also hides #REF!, #VALUE!, #DIV/0! and others, which can hide real mistakes.
Question 15 sur 15
Voir la réponse
Réponse: A. 4%
match_mode -1 means "exact match, or else the next smaller item". 32,000 is not listed, so XLOOKUP uses 25,000 and returns 4%.
Clavier : 1–4 pour répondre, Entrée pour la question suivante.