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.

  • Curso
  • Canadá
  • 96 preguntas
  • Revisado el 13 de octubre de 2026
  • Verificado el 13 de octubre de 2026
Empieza por las leccionesExcel Formulas and Data Analysis Course: Lessons: unos 240 minutos de lectura. Todas las preguntas del test se tratan en las lecciones.

Prueba temática 3: Lookups: XLOOKUP, VLOOKUP, INDEX/MATCH and IFERROR

  1. Pregunta 1 de 15

    What kind of match does XLOOKUP use if you leave out match_mode?
    Ver respuesta

    Respuesta: D. Exact match

    Exact match (0) is the default for XLOOKUP. If nothing matches, it returns #N/A.

  2. Pregunta 2 de 15

    In the price list below, what does =XLOOKUP("ALM-11",A2:A7,D2:D7) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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.

  3. Pregunta 3 de 15

    In the price list below, what does =XLOOKUP("Smart lock",B2:B7,A2:A7) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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.

  4. Pregunta 4 de 15

    In the price list below, what does =VLOOKUP("LCK-06",A2:E7,4,FALSE) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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.

  5. Pregunta 5 de 15

    In the price list below, what does =VLOOKUP("Smart lock",A2:E7,1,FALSE) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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.

  6. Pregunta 6 de 15

    In the price list below, what does =VLOOKUP("ALM-10",A2:E7,6,FALSE) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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!.

  7. Pregunta 7 de 15

    You write =VLOOKUP(A2,Prices,3) and leave out the last argument. What kind of match does VLOOKUP use?
    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.

  8. Pregunta 8 de 15

    In the price list below, what does =XLOOKUP("CAM-09",A2:A7,D2:D7,"Not listed") return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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".

  9. Pregunta 9 de 15

    In the price list below, what does =XLOOKUP("CAM-09",A2:A7,D2:D7) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    Ver respuesta

    Respuesta: C. #N/A

    With no match and no if_not_found argument, XLOOKUP returns the #N/A error.

  10. Pregunta 10 de 15

    In the price list below, what does =MATCH("LCK-05",A2:A7,0) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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).

  11. Pregunta 11 de 15

    In the price list below, what does =INDEX(D2:D7,3) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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.

  12. Pregunta 12 de 15

    In the price list below, what does =INDEX(B2:B7,MATCH(229,D2:D7,0)) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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.

  13. Pregunta 13 de 15

    In the price list below, what does =IFERROR(VLOOKUP("ALM-12",A2:E7,4,FALSE),0) return?
    ABCDE
    1CodeItemCategoryPriceStock
    2CAM-01Dome cameraCameras189.9914
    3CAM-02Bullet cameraCameras149.50
    4ALM-10Door sensorAlarms24.75120
    5ALM-11Motion sensorAlarms3964
    6LCK-05Smart lockLocks2298
    7LCK-06Keypad lockLocks11922
    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.

  14. Pregunta 14 de 15

    You want to replace only the #N/A error from a lookup with "Not found", but still see other errors such as #REF!. Which function fits best?
    Ver respuesta

    Respuesta: C. IFNA

    IFNA only replaces #N/A. IFERROR also hides #REF!, #VALUE!, #DIV/0! and others, which can hide real mistakes.

  15. Pregunta 15 de 15

    In the commission table below, what does =XLOOKUP(32000,A2:A5,B2:B5,,-1) return?
    AB
    1Sales fromRate
    202%
    3100003%
    4250004%
    5500005%
    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%.

Exámenes relacionados