Forum Discussion

EK_Blackwell's avatar
EK_Blackwell
Copper Contributor
Sep 07, 2021
Solved

IF THEN WHERE statement?

I have two sheets in a workbook. I need to set a cell's value where the ID on one sheet equals the ID on a different sheet. But there's not always going to be a match, they don't line up equally.  Is...
  • SergeiBaklan's avatar
    SergeiBaklan
    Sep 07, 2021

    DKoontz 

    As a comment, with XLOOKUP we may return entire spill at once

    =XLOOKUP(A2:A10,Sheet2!B2:B100,Sheet2!A2:A100, "no such")

Resources