0
0
Excelspreadsheet~10 mins

Approximate vs exact match in Excel - Formula Comparison Trace

Choose your learning style9 modes available
Sample Data

This table shows student scores in column A and their corresponding grades in column B. We want to find the grade for a lookup score 80 using approximate and exact match.

CellValue
A1Score
A245
A378
A492
B1Grade
B2F
B3C
B4A
D1Lookup Score
D280
E1Approximate Match
E2
F1Exact Match
F2
Formula Trace
=VLOOKUP(D2, A2:B4, 2, TRUE)
Step 1: VLOOKUP(80, A2:B4, 2, TRUE)
Step 2: Values in A2:A4 are [45, 78, 92]
Step 3: Return corresponding value from column 2 for 78
Cell Reference Map
    A       B       C       D       E       F
1 | Score | Grade |       | Lookup | Approx | Exact |
2 |  45   |   F   |       |   80   |        |       |
3 |  78   |   C   |       |        |        |       |
4 |  92   |   A   |       |        |        |       |

Arrows:
D2 --> A2:A4 (lookup range)
A2:A4 --> B2:B4 (return column)
The lookup value in D2 is searched in the range A2:A4. The matching or closest lower value's corresponding grade from B2:B4 is returned.
Result
    A       B       C       D       E           F
1 | Score | Grade |       | Lookup | Approx Match | Exact Match |
2 |  45   |   F   |       |   80   |      C      |    #N/A    |
3 |  78   |   C   |       |        |             |            |
4 |  92   |   A   |       |        |             |            |
The approximate match formula returns 'C' because 78 is the closest lower score to 80. The exact match formula returns #N/A because 80 is not found exactly.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the TRUE parameter in VLOOKUP do?
AFinds the closest lower or equal value if exact match not found
BFinds only exact matches
CReturns the last value in the range
DSorts the data before lookup
Key Result
VLOOKUP searches first column of range; TRUE finds closest lower or equal; FALSE finds exact match only.