Excel Formulas and Data Analysis Course: Lookups: XLOOKUP, VLOOKUP, INDEX/MATCH and IFERROR
Prueba temática sin límite de tiempo: 15 preguntas sobre Lookups: XLOOKUP, VLOOKUP, INDEX/MATCH and IFERROR, con una explicación después de cada respuesta. Las preguntas y respuestas se mezclan cada vez.
Prueba temática 3: Lookups: XLOOKUP, VLOOKUP, INDEX/MATCH and IFERROR
Pregunta 1 de 15
Ver respuesta
Respuesta: D. Exact match
Exact match (0) is the default for XLOOKUP. If nothing matches, it returns #N/A.
Pregunta 2 de 15
Ver respuesta
Respuesta: D. 39
XLOOKUP finds ALM-11 in column A and returns the value from the same row of D2:D7, the price 39.
Pregunta 3 de 15
Ver respuesta
Respuesta: 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.
Pregunta 4 de 15
Ver respuesta
Respuesta: 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.
Pregunta 5 de 15
Ver respuesta
Respuesta: 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.
Pregunta 6 de 15
Ver respuesta
Respuesta: D. #REF!
The range A2:E7 has only 5 columns. When col_index_num is greater than the number of columns, VLOOKUP returns #REF!.
Pregunta 7 de 15
Ver respuesta
Respuesta: 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.
Pregunta 8 de 15
Ver respuesta
Respuesta: D. Not listed
CAM-09 is not in column A, so XLOOKUP returns the if_not_found value you supplied, "Not listed".
Pregunta 9 de 15
Ver respuesta
Respuesta: C. #N/A
With no match and no if_not_found argument, XLOOKUP returns the #N/A error.
Pregunta 10 de 15
Ver respuesta
Respuesta: 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).
Pregunta 11 de 15
Ver respuesta
Respuesta: 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.
Pregunta 12 de 15
Ver respuesta
Respuesta: B. Smart lock
MATCH finds 229 at position 5 of D2:D7. INDEX then returns the 5th item of B2:B7, Smart lock.
Pregunta 13 de 15
Ver respuesta
Respuesta: C. 0
ALM-12 is not in the list, so VLOOKUP gives #N/A. IFERROR catches the error and returns 0 instead.
Pregunta 14 de 15
Ver respuesta
Respuesta: C. IFNA
IFNA only replaces #N/A. IFERROR also hides #REF!, #VALUE!, #DIV/0! and others, which can hide real mistakes.
Pregunta 15 de 15
Ver respuesta
Respuesta: 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%.
Teclado: 1–4 para responder, Intro para la siguiente pregunta.