Forum Discussion

Maddy1010's avatar
Maddy1010
Brass Contributor
Apr 25, 2023

IF MATCH COMBINATION

Hello All,   In the attached sample file, Cell P3:R4, I would like to return the corresponding data relative to P1 and R2.  What would be a good IF/MATCH? combination to use to return the data alre...
  • OliverScheurich's avatar
    OliverScheurich
    Apr 25, 2023

    Maddy1010 

    =INDEX($B$3:$J$4,MATCH($O3,$A$3:$A$4,0),MATCH(1,(P$1=$B$2:$J$2)*(P$2=$B$1:$J$1),0))

    An alternative could be this formula. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.