Explanation

Note: a simpler approach would be to alter the table used by VLOOKUP directly.

But this example explains the mechanics of testing and overriding output from VLOOKUP.

This formula is based on a simple grading exampleexplained in detail here.

Excel formula: VLOOKUP calculate grades

Note match mode is set to approximate.

Otherwise, return the result from VLOOKUP.

The result of “x” can be customized as desired.

Excel formula: VLOOKUP without #N/A error

To display nothing, provide anempty string("").

Instead, it tests the incoming score value and bypasses VLOOKUP entirely if below 60.

Excel formula: Self-contained VLOOKUP

Excel formula: VLOOKUP calculate shipping cost

Excel formula: VLOOKUP two-way lookup

Excel formula: Get employee information with VLOOKUP

Excel formula: Merge tables with VLOOKUP

Excel VLOOKUP function

Article image

Article image

Article image