Forum Discussion

Martin_Gemen's avatar
Martin_Gemen
Copper Contributor
Feb 02, 2023
Solved

XLOOKUP on several rows and columns

Hi All, I want to use XLOOKUP on several rows and columns, but that does not seem to work. =XLOOKUP(F10:F357,Q10:T96,Q9:T9) Range F10:F357 contains numbers that can be found in Q10:T96 as well. D...
  • HansVogelaar's avatar
    Feb 02, 2023

    Martin_Gemen 

    In G10:

    =INDEX($Q$9:$T$9,SUMPRODUCT(($Q$10:$T$96=F10)*COLUMN($Q$10:$T$10))-COLUMN($Q$10)+1)

    Fill down to G357.

Resources