Forum Discussion

Kimmmico's avatar
Kimmmico
Copper Contributor
Aug 16, 2022
Solved

IF and VLOOKUP works and then stops

Hi,   I'm not an excel expert so forgive me if this is a silly question or I'm approaching it all wrong.     I want to pull metric 1 from a range named 'METRIC' only if B2 is the same as a...
  • OliverScheurich's avatar
    Aug 16, 2022

    Kimmmico 

    =VLOOKUP(A2&B2,CHOOSE({1,2},Tabelle2!$A$2:$A$7&Tabelle2!$T$2:$T$7,Tabelle2!$S$2:$S$7),2,0)

    You can try this formula. Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.

    =INDEX(Tabelle2!$S$2:$S$7,MATCH(1,INDEX((A2=Tabelle2!$A$2:$A$7)*(Tabelle1!B2=Tabelle2!$T$2:$T$7),0),0))

    An alternative could be INDEX and MATCH.

     

Resources