Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

 How to vlookup matching value from another google sheet?

Supposing, you have following two google sheet files, now, you need to vlookup the matching value in one file from another one, do you have any good solutions to finish it?

Vlookup matching value from another google sheet with formula


Vlookup matching value from another google sheet with formula


The following formula can help you to extract the matching values based on one key column, please do as this:

1. Enter this formula: =IFERROR(vlookup(A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280","my data!A2:B12"),2,false),) into a blank cell where you want to vlookup the matching value.

Note: In the above formula:

  • A2 is the cell which you want to vlookup its matching value;
  • https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280 is the file address which you want to vlookup from;
  • my data!A2:B12: is the sheet name and cells range you want to search from;
  • 2: indicates the column number that your matched value is returned.

2. Then press Enter key to get the first result, see screenshot:

3. And then select the formula cell and drag the fill handle down to the cells you want to extract the matching value as you need, see screenshot:


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Max · 8 months ago
    Thanks for this! However, this is only working on about half of my items. I have copied the text exactly as it appears and made sure the format type is the same as well. About half of my data is being found, while the other half is empty (due to the iferror formula). has anyone else found this or have a solution?
    • To post as a guest, your comment is unpublished.
      Josh Johnson · 3 months ago
      You'll need to protect the range from changing on drag on the importrange.

      =IFERROR(vlookup(A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280","my data!$A$2:$B$12"),2,false),)

      without that, as you drag down the formula it will automaticallyl adjust the range. The second-row cell will be A3:B13 next A4:B14 removing possible matching values from your range. You don't really need the $ in front of the column but I leave it in to freeze the exact column in case I move it around.
  • To post as a guest, your comment is unpublished.
    Aj · 1 years ago
    Can someone help please. I am getting #N/A as a result. I have even tried to put in the importrange formula in a blank cell but still no luck. I have also tried using the LINK SHARE url instead of the actual URL.


    Thanks
  • To post as a guest, your comment is unpublished.
    Gaurav Pratap Singh · 1 years ago
    Not working please help.
    getting blank cell as result.
    • To post as a guest, your comment is unpublished.
      P. Xiao · 1 years ago
      Have you granted access for "importrange" part? If not, you need to put formula "=importrange("link, range") in a blank cell first. Then you will have a pop-up window asking you to grant the access. Now, the full formula should work.
      I had exactly the same problem before and found this solution on another website. Hope it works. Good luck.
      • To post as a guest, your comment is unpublished.
        Femke · 4 months ago
        Had the same problem and this solution worked for me too - super, thanks!!
      • To post as a guest, your comment is unpublished.
        Marian · 8 months ago
        Thank you so much. It worked for me too!
      • To post as a guest, your comment is unpublished.
        Vian · 11 months ago
        Wow, very nice of you to share the solution here... Thanx a lot
      • To post as a guest, your comment is unpublished.
        Tom · 1 years ago
        This fixed it for me. Thank you so much! I was tinkering for hours.