Forum Discussion

Chels405's avatar
Chels405
Copper Contributor
Aug 08, 2019
Solved

Which formula to create?

I am working on a spreadsheet. On the first worksheet of my workbook, I have a table with each person and their respective information (age, their choice of A or B, ect.).   In my data tab, I have ...
  • PReagan's avatar
    PReagan
    Aug 08, 2019

    Hello Chels405,

     

    In cell E2, that could be something like:

     

     =if(C2="A",VLOOKUP(D2,'Data'!$A$3:$C$22,2,false),IF(C2="B",VLOOKUP(D2,'Data'!$A$3:$C$22,3,false),"No Result")