Forum Discussion

Mr_FunGuy's avatar
Mr_FunGuy
Copper Contributor
Jul 19, 2022
Solved

Trying to use "If" array to pull data in order from highest stat to lowest

My starting formula for Q2 is: =if (K2=$B2,$B$1,(if(K2=$C2, $C$1,(if(K2=$D2,$D$1,(if(K2=$E2,$E$1,(if(K2=$F2,$F$1,(if(K2=$G2,$G$1,"false")))))))))) This gives me the first value associated with ...
  • Rsartori76's avatar
    Rsartori76
    Jul 19, 2022

    Mr_FunGuy 

    In Google Sheets I was able to reproduce it with this formula:

     

    =TRANSPOSE(INDEX(SORT(TRANSPOSE(A1:F2),2,0),,1))

Resources