Vlookup, Importrange Formulas
Vlookup, Importrange Formulas
IMPORTRANGE
IMPORTRANGE allows you to import data from any other Google Sheet.
It doesn’t have to be on your Google Drive, either; it could belong to someone else (note: you
will need permission to access the sheet if this is the case!)
https://mail.google.com/mail/u/0?ik=68215f2b9b&view=pt&search=all&permmsgid=msg-a%3Ar-7865453928465051192&simpl=msg-a%3Ar-7865… 1/6
7/3/2020 TeamLease Services Limited Mail - Learn Google Sheets - Vlookup, IMPORTRANGE
Let’s assume that I wanted to use this client list in another Google Sheet — I can import this
entire data range using the following formula:
=IMPORTRANGE("SPREADSHEET_KEY","'SheetName'!A2:A")
Merging data from multiple sources (e.g. merging a list of domains with
corresponding Ahrefs DR ratings from a separate sheet);
Checking if a value exists in another data set (e.g. checking for duplicates
across two or more lists of outreach prospects);
Pulling in email addresses (from a master database of contacts) alongside a list
of prospects.
Formula:
= VLOOKUP( C4, $I$3:$J$7, 2, FALSE )
I search for the name (1) in the search table (2) and return the data from
column 2 of the search table (3).
(The FALSE argument, the final piece of information in the VLOOKUP formula
means you want to do an exact match. 99.9% of the time you use a
VLOOKUP, you’ll want to use FALSE.)
=VLOOKUP(A2,Sheet4!$A$2:$B$7,2,false)
The formula will search for the value in A2 in the range A2:A7 on Sheet4,
and return a matching value from column B (2nd column in range).
https://mail.google.com/mail/u/0?ik=68215f2b9b&view=pt&search=all&permmsgid=msg-a%3Ar-7865453928465051192&simpl=msg-a%3Ar-7865… 3/6
7/3/2020 TeamLease Services Limited Mail - Learn Google Sheets - Vlookup, IMPORTRANGE
=VLOOKUP(A2,'Lookup table'!$A$2:$B$7,2,false)
Vlookup.
Suppose you have two Google Sheets files named as Test1 and Test2. Let’s see how to
Steps to Follow:
https://mail.google.com/mail/u/0?ik=68215f2b9b&view=pt&search=all&permmsgid=msg-a%3Ar-7865453928465051192&simpl=msg-a%3Ar-7865… 4/6
7/3/2020 TeamLease Services Limited Mail - Learn Google Sheets - Vlookup, IMPORTRANGE
=importrange("https://docs.google.com/spreadsheets/d/1QWnXBCOF9YKq5GoroET9kCCTy9_
wnhKysY5c6R5AJ6g/edit#gid=0","Sheet1!A1:K")
Please replace the URL with your copied URL. I have this formula in Cell C2. It returns
#REF! error.
You need to “Allow access”. Just point your mouse on Cell C2 and click “Allow access”
button.
Now to the formulas to Vlookup between two separate Google Sheets workbooks/files.
Double click on the Cell where our Importrange formula resides, and modify it as
follows.
=vlookup(2015,importrange("https://docs.google.com/spreadsheets/d/
1QWnXBCOF9YKq5GoroET9kCCTy9_wnhKysY5c6R5AJ6g/edit#gid=0","
Sheet1!A1:K"),2,false)
https://mail.google.com/mail/u/0?ik=68215f2b9b&view=pt&search=all&permmsgid=msg-a%3Ar-7865453928465051192&simpl=msg-a%3Ar-7865… 5/6
7/3/2020 TeamLease Services Limited Mail - Learn Google Sheets - Vlookup, IMPORTRANGE
Regards,
IT Services Team
https://mail.google.com/mail/u/0?ik=68215f2b9b&view=pt&search=all&permmsgid=msg-a%3Ar-7865453928465051192&simpl=msg-a%3Ar-7865… 6/6