search
HomeSoftware TutorialOffice SoftwareExcel reference to another sheet or workbook (external reference)

This concise guide demonstrates how to efficiently utilize external references in Excel, enabling seamless data integration across worksheets and workbooks. Learn how to link data for automatic updates and streamline your calculations.

When working with Excel, accessing data from other sheets or files is often necessary. This is easily achieved using external cell references, also known as links.

An external reference in Excel points to a cell or range outside the current worksheet. The key advantage? When the referenced data changes, the linked cell automatically updates.

While similar to standard cell references, external references have crucial distinctions. This tutorial covers various reference types, providing step-by-step instructions, visuals, and formula examples.

Referencing Another Sheet

To reference cells on another sheet within the same workbook, precede the cell address with the sheet name and an exclamation mark (!).

Individual Cell: Sheet_name!Cell_address (e.g., Sheet2!A1)

Range of Cells: Sheet_name!First_cell:Last_cell (e.g., Sheet2!A1:A10)

Note: Sheet names with spaces or special characters require single quotes. For example, 'Project Milestones'!A1.

A formula multiplying cell A1 in the 'Project Milestones' sheet by 10 would be: ='Project Milestones'!A1*10

Creating a Sheet Reference

Manually typing references is inefficient and prone to errors. A more effective method involves directly selecting the target cells:

  1. Begin typing a formula in the destination cell or formula bar.
  2. Navigate to the source sheet and select the desired cell(s). Excel automatically inserts the correct reference.
  3. Press Enter to finalize the formula.

For instance, to calculate 19% VAT on sales figures in a 'Sales' sheet, within a 'VAT' sheet:

  1. Start with =19%* in cell B2 of the 'VAT' sheet.
  2. Select cell B2 in the 'Sales' sheet. Excel will input the reference (see image below).
  3. Press Enter.

Excel reference to another sheet or workbook (external reference)

Note: Excel defaults to relative references. Copying the formula down column B will automatically adjust cell references for each row.

Similarly, referencing a range is done by selecting multiple cells. To sum sales (B2:B5) from the 'Sales' sheet: =SUM(Sales!B2:B5)

Excel reference to another sheet or workbook (external reference)

Referencing Another Workbook

External references to other workbooks vary depending on whether the source workbook is open or closed.

Open Workbook

When the source workbook is open, the reference includes the workbook name (in square brackets, including extension), sheet name, exclamation mark, and cell reference.

Example: [Sales.xlsx]Jan!B2:B5 (sums cells with =SUM([Sales.xlsx]Jan!B2:B5))

Closed Workbook

For closed workbooks, include the full file path: =SUM('D:\Reports\[Sales.xlsx]Jan!B2:B5)

Components: File Path, Workbook Name (in brackets), Sheet Name, Cell Reference.

Quotes are needed for names with spaces or special characters. For example: =SUM('[Year budget.xlsx]Jan'!B2:B5)

Creating a Workbook Reference

Similar to sheet references, selecting cells in another workbook automatically creates the reference:

Excel reference to another sheet or workbook (external reference)

Note: Excel uses absolute references by default. Remove dollar signs ($) for relative or mixed references when copying formulas. Issues may arise if workbooks are open in separate Excel instances.

Referencing Defined Names

Using defined names simplifies external references.

Creating a Name

Select the cells, go to Formulas > Define Name, or press Ctrl F3. Enter a name (no spaces) and verify the range in the Refers to field.

Excel reference to another sheet or workbook (external reference)

Referencing a Name

Same Workbook (Workbook-level name): =SUM(Jan_sales)

Same Workbook (Worksheet-level name): =SUM(Jan!Jan_sales)

Different Workbook (Workbook-level name): =SUM(Sales.xlsx!Jan_sales)

Different Workbook (Worksheet-level name): =SUM([Sales.xlsx]Jan!Jan_sales)

Closed Workbook: =SUM('C:\Documents\Sales.xlsx'!Jan_sales)

Creating a Name Reference

To insert a name reference:

  1. Begin typing the formula.
  2. Navigate to the sheet (if necessary).
  3. Press F3, select the name, and click OK. Excel reference to another sheet or workbook (external reference)
  4. Complete the formula.

Mastering external references empowers you to leverage data across multiple sheets and workbooks effectively.

The above is the detailed content of Excel reference to another sheet or workbook (external reference). For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How to make a pie chart in ExcelHow to make a pie chart in ExcelApr 27, 2025 am 09:37 AM

This Excel pie chart tutorial guides you through creating and customizing pie charts. Learn to build effective pie charts, avoiding common pitfalls. Pie charts, also called circular graphs, visually represent proportions of a whole. Each slice repr

How to create a chart in Excel from multiple sheetsHow to create a chart in Excel from multiple sheetsApr 27, 2025 am 09:22 AM

This tutorial shows how to create and modify Excel charts from data across multiple worksheets. Previously, we covered basic charting; this expands on that by addressing the common question of combining data from different sheets. Creating Charts fr

Why use $ in Excel formula: relative & absolute cell referenceWhy use $ in Excel formula: relative & absolute cell referenceApr 27, 2025 am 09:13 AM

The dollar sign ($) in cell references in Excel formulas often confuses users, but its principle is simple. The dollar sign has only one function in Excel cell references: it tells Excel whether to change the reference when copying a formula to another cell. This tutorial will explain this feature in detail. The importance of Excel cell reference cannot be overemphasized. Understand the difference between absolute, relative, and mixed citations, and you've mastered half of the power of Excel formulas and functions. You may have seen the dollar sign ($) in the Excel formula and want to know what it is. In fact, you can refer to the same cell in four different ways, such as A1, $A

Excel reference to another sheet or workbook (external reference)Excel reference to another sheet or workbook (external reference)Apr 27, 2025 am 09:11 AM

This concise guide demonstrates how to efficiently utilize external references in Excel, enabling seamless data integration across worksheets and workbooks. Learn how to link data for automatic updates and streamline your calculations. When working

How to make a bar graph in ExcelHow to make a bar graph in ExcelApr 27, 2025 am 09:08 AM

This tutorial shows you how to create and customize bar graphs in Excel, including sorting data automatically. We'll cover creating various bar chart types, adjusting bar width and colors, and handling negative values. Bar graphs, alongside pie char

How to create formulas in ExcelHow to create formulas in ExcelApr 26, 2025 am 09:47 AM

This tutorial guides you through creating Excel formulas, starting with the basics. You'll learn to build formulas using constants, cell references, defined names, and functions. We'll also explore using the Function Wizard and direct formula entry.

Circular reference in Excel: how to find, enable, use, or removeCircular reference in Excel: how to find, enable, use, or removeApr 26, 2025 am 09:30 AM

This concise guide explains Excel circular references, their pitfalls, and how to manage them. Learn to identify, locate, and eliminate circular references, or, if necessary, how to enable and utilize circular formulas. Encountering a "circula

Excel 3D reference: refer to the same cell or range in multiple worksheetsExcel 3D reference: refer to the same cell or range in multiple worksheetsApr 26, 2025 am 09:16 AM

This tutorial explains Excel's powerful 3D referencing feature, enabling efficient data manipulation across multiple worksheets. Learn how to reference identical cells or ranges across selected sheets, and build formulas for aggregating data from va

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software