Software & Apps Google Apps How to Use Google Sheets to Reference Data From Another Sheet Easily import data from other tabs and spreadsheets by Ryan Dube Writer Ryan Dube is a freelance contributor to Lifewire and former Managing Editor of MakeUseOf, senior IT Analyst, and an automation engineer. our editorial process Facebook Twitter LinkedIn Ryan Dube Updated on December 02, 2020 Tweet Share Email Google Apps Sheets Docs Slides Before you can use Google Sheets to reference data from another sheet, you need to determine where that source data is coming from. If the data is in another tab inside the same spreadsheet, you only need to use a simple sheet reference to reference data from other sheets. If the data is in an entirely different Google Sheets file, you need to use a special spreadsheet key to pull data from another sheet. Use Google Sheets to Pull Cell Data From Another Sheet The most common reason people want to pull data from another sheet in Google Sheets is because those other tables are usually lookup tables. For example, you might have one sheet that holds all of the products you sell along with their UPC code and unit price, while another sheet may contain a log of your sales. To calculate the total sale, you'll need to pull pricing data from the product sheet. Here's how to do this: In the original sheet where you want to pull data into, place your cursor in the cell where you'd like the data to go. Type = (the equal sign) into the cell. Select the second sheet and, then, the cell that contains the data you want to bring into the original sheet. Press Enter finish. This will bring the cell data you selected into the first spreadsheet. The final formula in this case is =Sheet2!C2. 'Sheet2' is the name of the sheet where the data comes from. This method is good for referencing individual cell data from a different spreadsheet into an original one. Looking up Data From Another Google Sheets Spreadsheet The method above works well to pull individual cell data from one sheet into another, but what if you want to look up data from the other sheet? You can do this using the VLOOKUP function in Google Sheets. In the original sheet where you want to pull data into, place your cursor in the cell where you'd like the data to go, then type =VLOOKUP( into the cell. Formula syntax help will appear. For the search_key, select the cell in the original sheet you want to use as the lookup. Type a comma (,) and switch to the sheet you want to pull data from. For range, select the entire range of cells you want to use as the lookup table. Type a comma (,) again, and for the index, type the number of the column that contains the data you want to retrieve from the second spreadsheet. Finally, type ,FALSE). This finishes the formula with a parameter that says the data in the other sheet isn't sorted. If the data is sorted, then you'd make this TRUE. Press Enter and you'll see that the resulting Unit Price comes from the appropriate data cell from the other spreadsheet. Fill in the rest of the cells using this same formula. This should fill out all of the correct data values, pulled in from the other spreadsheet, into the original sheet. Pull Cell Data From a Different Spreadsheet File While all of the formulas above work well for pulling data from another spreadsheet tab in the same Google Sheets file, you can also reference data from a different spreadsheet file. To pull in data from another Google Sheets file, you need to use the IMPORTRANGE formula. Before you can use the IMPORTRANGE formula, you'll need the URL link to the Google Sheets file where you want to reference data. Highlight and copy the URL link to the end of the long code before the last forward slash (/) in the URL. In the original sheet where you want to pull data to, place the cursor in the destination cell and type: =IMPORTRANGE("URL" Be sure to replace URL in this formula with the URL you want to reference. Follow the quotes after the URL with a comma (,), then type the name of the sheet and the cell you want to get data from. In this example you'd enter: =IMPORTRANGE("URL","Sheet1!C2"). Again, URL would be a full URL. We're just keeping it short for example purposes. Press Enter. You'll see that the data from the other Sheets spreadsheet file is pulled into this spreadsheet. You can use this same IMPORTRANGE function inside a VLOOKUP function to perform the same lookup method described in the previous section. This allows you to perform a VLOOKUP using data from another Google Sheets file. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Email Address Sign up There was an error. Please try again. You're in! Thanks for signing up. There was an error. Please try again. Thank you for signing up. Tell us why! Other Not enough details Hard to understand Submit