Fixing Excel XLOOKUP That Returns #N/A When Match Mode Is Approximate
XLOOKUP's approximate match modes are more nuanced than VLOOKUP's. If your formula keeps returning #N/A even though the lookup value clearly exists in a nearby range, the match mode and sort order are almost certainly the culprits.