Google-sheets – How to import values from the 2nd sheet based on the colum of the 1st sheet

formulasgoogle sheetsgoogle-sheets-arrayformulavlookup

I have two sheets –

Sheet1 includes:

col 1  | col 2 
[Name] | [phones ]

Sheet2 includes:

col 1  | col 2
[Name] | [e-mail]

I want to importrange if the name on Sheet1 is equal to name on Sheet2.

Best Answer

  • use VLOOKUP formula. paste this formula in cell C1 on Sheet2:

    =ARRAYFORMULA(IFERROR(VLOOKUP(A:A, Sheet1!A:B, 2, 0), ))

    =ARRAYFORMULA(IFERROR(VLOOKUP(FILTER(Sheet1!A1:A,
     ISNUMBER(SEARCH("*"&A1:A&"*",A1:A))), Sheet1!A1:B, 2, 0), ))