How to Cross-Reference in Excel & Google Sheets

Written by

Mel Jenkins

Reviewed by

Laura Tsitlidze

Last updated on June 19, 2023

This tutorial demonstrates how to cross-reference other data in Excel and Google Sheets.

cross-reference intro

 

An Excel workbook can be made up of multiple worksheets. There’s often a benefit to cross-referencing cells from one sheet to another (or even just two locations on the same sheet). For example, you might be creating a summary worksheet that refers to other worksheets in your file. You can do this by creating formulas that refer to or cross-reference the other sheets. You can also create formulas that refer to or cross-reference other Excel files (workbooks). That way, there’s no typing and retyping the same values, and changes are easier to make across the workbook.

The worksheet supplying the data is called the source worksheet while the worksheet containing the reference is termed the dependent worksheet.

Reference Another Sheet With Paste Special

    1. Select the cells in the source worksheet you wish to link to the destination sheet, and then in the Ribbon, go to Home > Clipboard > Copy, or press CTRL + C on the keyboard.

cross reference copy north

  1. In the destination sheet, select the cells where you wish to insert the linked data.

cross reference select combined

  1. In the Ribbon, go to Home > Clipboard > Paste > Other paste Options > Paste Link.

cross reference paste link

Paste Special Dialog Box

Instead of Steps 1–3 above, you can use this alternate Paste Special method.

  1. In the Ribbon, go to Home > Clipboard > Paste > Paste Special, and then click Paste Link.
    Tip: The shortcut to open the Paste Special dialog box is CTRL + ALT + V.

crossreference pastespecial pastelink

  1. Linked formulas are created for you linking the destination cell references to the source cell references.

Reference Another Sheet Manually

  1. Click in the cell in your destination sheet where you wish the linked formula to be placed, and then type equals (=) on the keyboard to begin your formula.

cross reference equal

  1. Select the source sheet (the sheet the value is coming from), and then click on the source cell.

cross reference select cell north

  1. Press ENTER to complete your formula.

cross reference copied cell north

  1. When a linked formula is created between two sheets (either by Paste Special or manually) the syntax of the linked formula is always:
='Worksheet'!CellReference
    1. If the sheet name contains spaces or any characters that are not alphanumeric (such as a hyphen, in this case), it is contained between single quotation marks. It always have an exclamation mark after it, and then the cell reference follows to complete the formula.
=CarSales-North!B6
  1. Once you have created a linked formula, you can copy the formula down and across, as long as the formula does not contain any absolute (anchored) references.

cross reference copy down

Create a Linked Formula With Range Name

If you don’t usually work with named ranges, jump to Learn About Range Names below for some background.

  1. If you have range names in your source worksheet, you can create linked formulas to these range names.
  2. The worksheet shown below has a range name called Sedans-North, which refers to cells B6:D6.

cross reference range name

  1. In the destination worksheet, click in the cell where you need the formula to go and type the equal sign (=).

cross reference range name equals

  1. Switch to the worksheet that contains the range name you want, and then select the named range.

cross reference range name

  1. Press ENTER to complete your formula. Notice that the cells adjacent to the cell where you entered the equal sign are also populated with the correct formula.

cross reference range name d

  1. However, if you click on one of the adjacent cells, you can see that the formula is grayed out. This is because an array formula has been created. In older versions of Excel, you had to press CTRL + ENTER on the keyboard but the IntelliSense in the newer versions of Excel do this for you. You cannot, however, delete a formula unless you are on the original cell where the formula was created (in this case, C6).

cross reference range name e

Learn About Range Names

Basics

Shortcuts

More

Reference Another File With Paste Special

  1. You can also link two separate Excel files (workbooks) together using linked formulas.
  2. Before you link two files together, make sure that both files are open and have been saved with any recent changes.

cross reference multi file

  1. As with linking two worksheets together, in the source workbook, select the cell references to copy, and then in the Ribbon, go to Home > Clipboard > Copy, or press CTRL + C on the keyboard.

cross reference copy north

  1. Click back in the destination workbook and select the cell references where you wish the linked data to go.
  2. In the Ribbon, go to Home > Clipboard > Paste > Other paste Options > Paste Link.

cross reference multi file copy link

  1. A linked formula is created in each of the selected cells. This formula differs slightly from when you are linking worksheets in the same file; this external link formula contains the name of the file as well as the name of the sheet.

cross reference multi file paste

Reference Another File Manually

  1. As with creating a formula between two worksheets, you can manually create a formula between two open files (workbooks).
  2. Select the cell in your destination workbook where you wish the linked formula to be placed, and then type equals (=) on the keyboard to begin your formula.

cross reference multi file equals

  1. Select the source workbook and the sheet the value is coming from and click on the source cell.

cross reference multi file select

  1. Press ENTER to complete your formula.

cross reference multi file result

  1. When a linked formula is created between two files (either by Paste Special or manually) the syntax of the linked formula is:
='[FileName] WorksheetName'!Reference
    1. The name of the workbook is enclosed in square brackets while the file name and the worksheet name is contained between single quotation marks. An exclamation mark follows, with the cell reference following to complete the formula. For example:
='[NorthernBranch.xlsm]CarSales-North'!B6
      1. Notice that, when a formula is created manually between two files (as opposed to using Paste Link), the cell references in the formula are automatically put in as absolute (or anchored) references. You can’t copy the formula across or down unless you change your formula to remove the absolute (dollar) signs.

Tip: Use the shortcut F4 to cycle through relative/absolute references in formulas.

Cross-Reference in Google Sheets

You can link between two sheets in a Google Sheets file by manually creating a formula between them.

  1. In the destination file, select the cell where you want the formula to go, and then type equals (=).

cross reference gs equal

  1. Go to the source sheet and select the cell you want.

cross reference gs select

  1. Press ENTER to complete the formula.

cross reference gs formula

  1. It is possible to link two separate Google Sheets files together using the IMPORTRANGE Function (unique to Google Sheets).
  2. Make sure both the destination and source files are open, and then copy the URL of the source file.

crossreference gs copy url

  1. Switch back to the destination file, and in the cell where you want the link to go, enter the following formula:
=IMPORTRANGE("https://docs.google.com/spreadsheets/d/1xWqFy2UgYpicRItMvjBYA4f6n9-5M8iBYi4n7O9ddNc/edit?pli=1#gid=0", "C7")
  1. You may need to give your file access to the source file.

cross reference gs multi file allow access

  1. Click Allow access to complete the formula.

cross reference gs multi file linked

AI Formula Generator

Try for Free

See all How-To Articles