~/ learn/ afm-112/ cards/ The modern lookups, and what each error means
1 of 9

In Sheets, with the SKU in B2, SKUs in H2:H4 and prices in J2:J4, type the XLOOKUP that returns the price or "missing".

In Sheets, with the SKU in B2, SKUs in H2:H4 and prices in J2:J4, type the XLOOKUP that returns the price or "missing".

Answer

=XLOOKUP(B2, H2:H4, J2:J4, "missing")

Lookup value, lookup array, return array, if-not-found. Exact match by default; the return array may sit left of the lookup array.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/938ce6a7-8175-4639-979c-a1254f5b5b55/flashcard utf-8 LF