Forum Discussion

jasonm69's avatar
jasonm69
Copper Contributor
Mar 01, 2019
Solved

Excel formula help

I have a workbook with multiple sheets. I want to basically use 2 columns worth of data from sheet 1, match it to the same data on sheet 2, and then return the value in a third column on sheet 2, in ...
  • Twifoo's avatar
    Twifoo
    Mar 04, 2019
    Hello Jason,
    The formula in Sheet1!E2, copied down to Sheet1!E4 is:
    =LOOKUP(PI(),
    1/((Sheet2!A2:A6=--F2)*(Sheet2!H2:H6=K2)),
    Sheet2!G2:G6)
    F2 is left-aligned, which indicates that Excel reads it as text. The double unary (--) before F2 converts the text value of F2 to number.

Resources