Create or change a cell reference (2024)

Excel for Microsoft 365 Excel for the web Excel 2021 Excel 2019 Excel 2016 More...Less

A cell reference refers to a cell or a range of cells on a worksheet and can be used in a formula so that Microsoft Office Excel can find the values or data that you want that formula to calculate.

In one or several formulas, you can use a cell reference to refer to:

  • Data from one or more contiguous cells on the worksheet.

  • Data contained in different areas of a worksheet.

  • Data on other worksheets in the same workbook.

For example:

This formula:

Refers to:

And Returns:

=C2

Cell C2

The value in cell C2.

=A1:F4

Cells A1 through F4

The values in all cells, but you must press Ctrl+Shift+Enter after you type in your formula.

Note: This functionality doesn't work in Excel for the web.

=Asset-Liability

The cells named Asset and Liability

The value in the cell named Liability subtracted from the value in the cell named Asset.

{=Week1+Week2}

The cell ranges named Week1 and Week2

The sum of the values of the cell ranges named Week1 and Week 2 as an array formula.

=Sheet2!B2

Cell B2 on Sheet2

The value in cell B2 on Sheet2.

WindowsWeb

  1. Click the cell in which you want to enter the formula.

  2. In the formula bar Create or change a cell reference (1), type = (equal sign).

  3. Do one of the following:

    • Reference one or more cellsTo create a reference, select a cell or range of cells on the same worksheet.

      You can drag the border of the cell selection to move the selection, or drag the corner of the border to expand the selection.

    • Reference a defined nameTo create a reference to a defined name, do one of the following:

      • Type the name.

      • Press F3, select the name in the Paste name box, and then click OK.

        Note:If there is no square corner on a color-coded border, the reference is to a named range.

  4. Do one of the following:

    • If you are creating a reference in a single cell, press Enter.

    • If you are creating a reference in an array formula (such A1:G4), press Ctrl+Shift+Enter.

      The reference can be a single cell or a range of cells, and the array formula can be one that calculates single or multiple results.

      Note:If you have a current version of Microsoft 365, then you can simply enter the formula in the top-left-cell of the output range, then press ENTER to confirm the formula as a dynamic array formula. Otherwise, the formula must be entered as a legacy array formula by first selecting the output range, entering the formula in the top-left-cell of the output range, and then pressing CTRL+SHIFT+ENTER to confirm it. Excel inserts curly brackets at the beginning and end of the formula for you. For more information on array formulas, see Guidelines and examples of array formulas.

You can refer to cells that are on other worksheets in the same workbook by prepending the name of the worksheet followed by an exclamation point (!) to the start of the cell reference. In the following example, the worksheet function named AVERAGE calculates the average value for the range B1:B10 on the worksheet named Marketing in the same workbook.

Create or change a cell reference (2)

1. Refers to the worksheet named Marketing

2. Refers to the range of cells between B1 and B10, inclusively

3. Separates the worksheet reference from the cell range reference

  1. Click the cell in which you want to enter the formula.

  2. In the formula bar Create or change a cell reference (3), type = (equal sign) and the formula you want to use.

  3. Click the tab for the worksheet to be referenced.

  4. Select the cell or range of cells to be referenced.

Note:If the name of the other worksheet contains nonalphabetical characters, you must enclose the name (or the path) within single quotation marks (').

Alternatively, you can copy and paste a cell reference and then use the Link Cells command to create a cell reference. You can use this command to:

  • Easily display important information in a more prominent position. Let's say that you have a workbook that contains many worksheets, and on each worksheet is a cell that displays summary information about the other cells on that worksheet. To make these summary cells more prominent, you can create a cell reference to them on the first worksheet of the workbook, which enables you to see summary information about the whole workbook on the first worksheet.

  • Make it easier to create cell references between worksheets and workbooks. The Link Cells command automatically pastes the correct syntax for you.

  1. Click the cell that contains the data you want to link to.

  2. Press Ctrl+C, or go to the Home tab, and in the Clipboard group, click Copy Create or change a cell reference (4).

    Create or change a cell reference (5)

  3. Press Ctrl+V, or go to the Home tab, in the Clipboard group, click Paste Create or change a cell reference (6).

    By default, the Paste Options Create or change a cell reference (7) button appears when you paste copied data.

  4. Click the Paste Options button, and then click Paste Link Create or change a cell reference (8).

  1. Double-click the cell that contains the formula that you want to change. Excel highlights each cell or range of cells referenced by the formula with a different color.

  2. Do one of the following:

    • To move a cell or range reference to a different cell or range, drag the color-coded border of the cell or range to the new cell or range.

    • To include more or fewer cells in a reference, drag a corner of the border.

    • In the formula bar Create or change a cell reference (9), select the reference in the formula, and then type a new reference.

    • Press F3, select the name in the Paste name box, and then click OK.

  3. Press Enter, or, for an array formula, press Ctrl+Shift+Enter.

    Note:If you have a current version of Microsoft 365, then you can simply enter the formula in the top-left-cell of the output range, then press ENTER to confirm the formula as a dynamic array formula. Otherwise, the formula must be entered as a legacy array formula by first selecting the output range, entering the formula in the top-left-cell of the output range, and then pressing CTRL+SHIFT+ENTER to confirm it. Excel inserts curly brackets at the beginning and end of the formula for you. For more information on array formulas, see Guidelines and examples of array formulas.

Frequently, if you define a name to a cell reference after you enter a cell reference in a formula, you may want to update the existing cell references to the defined names.

  1. Do one of the following:

    • Select the range of cells that contains formulas in which you want to replace cell references with defined names.

    • Select a single, empty cell to change the references to names in all formulas on the worksheet.

  2. On the Formulas tab, in the Defined Names group, click the arrow next to Define Name, and then click Apply Names.

    Create or change a cell reference (10)

  3. In the Apply names box, click one or more names, and then click OK.

  1. Select the cell that contains the formula.

  2. In the formula bar Create or change a cell reference (11), select the reference that you want to change.

  3. Press F4 to switch between the reference types.

For more information about the different type of cell references, see Overview of formulas.

  1. Click the cell in which you want to enter the formula.

  2. In the formula bar Create or change a cell reference (12), type = (equal sign).

  3. Select a cell or range of cells on the same worksheet.You can drag the border of the cell selection to move the selection, or drag the corner of the border to expand the selection.

  4. Do one of the following:

    • If you are creating a reference in a single cell, press Enter.

    • If you are creating a reference in an array formula (such A1:G4), press Ctrl+Shift+Enter.

      The reference can be a single cell or a range of cells, and the array formula can be one that calculates single or multiple results.

      Note:If you have a current version of Microsoft 365, then you can simply enter the formula in the top-left-cell of the output range, then press ENTER to confirm the formula as a dynamic array formula. Otherwise, the formula must be entered as a legacy array formula by first selecting the output range, entering the formula in the top-left-cell of the output range, and then pressing CTRL+SHIFT+ENTER to confirm it. Excel inserts curly brackets at the beginning and end of the formula for you. For more information on array formulas, see Guidelines and examples of array formulas.

You can refer to cells that are on other worksheets in the same workbook by prepending the name of the worksheet followed by an exclamation point (!) to the start of the cell reference. In the following example, the worksheet function named AVERAGE calculates the average value for the range B1:B10 on the worksheet named Marketing in the same workbook.

Create or change a cell reference (13)

1. Refers to the worksheet named Marketing

2. Refers to the range of cells between B1 and B10, inclusively

3. Separates the worksheet reference from the cell range reference

  1. Click the cell in which you want to enter the formula.

  2. In the formula bar Create or change a cell reference (14), type = (equal sign) and the formula you want to use.

  3. Click the tab for the worksheet to be referenced.

  4. Select the cell or range of cells to be referenced.

Note:If the name of the other worksheet contains nonalphabetical characters, you must enclose the name (or the path) within single quotation marks (').

  1. Double-click the cell that contains the formula that you want to change. Excel highlights each cell or range of cells referenced by the formula with a different color.

  2. Do one of the following:

    • To move a cell or range reference to a different cell or range, drag the color-coded border of the cell or range to the new cell or range.

    • To include more or fewer cells in a reference, drag a corner of the border.

    • In the formula bar Create or change a cell reference (15), select the reference in the formula, and then type a new reference.

  3. Press Enter, or, for an array formula, press Ctrl+Shift+Enter.

    Note:If you have a current version of Microsoft 365, then you can simply enter the formula in the top-left-cell of the output range, then press ENTER to confirm the formula as a dynamic array formula. Otherwise, the formula must be entered as a legacy array formula by first selecting the output range, entering the formula in the top-left-cell of the output range, and then pressing CTRL+SHIFT+ENTER to confirm it. Excel inserts curly brackets at the beginning and end of the formula for you. For more information on array formulas, see Guidelines and examples of array formulas.

  1. Select the cell that contains the formula.

  2. In the formula bar Create or change a cell reference (16), select the reference that you want to change.

  3. Press F4 to switch between the reference types.

For more information about the different type of cell references, see Overview of formulas.

Need more help?

You can always ask an expert in the Excel Tech Communityor get support inCommunities.

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Create or change a cell reference (17)

Microsoft 365 subscription benefits

Create or change a cell reference (18)

Microsoft 365 training

Create or change a cell reference (19)

Microsoft security

Create or change a cell reference (20)

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Create or change a cell reference (21)

Ask the Microsoft Community

Create or change a cell reference (22)

Microsoft Tech Community

Create or change a cell reference (2024)

References

Top Articles
De 10 beste helpdesk-oplossingen voor klantenservice
The Best Help Desk Software for 2024
Lux Nails Columbia Mo
Refinery29 Horoscopes
Ray Romano Made a Movie for Sports Parents Everywhere
Car Parts Open Now
Autozone Locations Near Me
Best Transmission Service Margate
Adventhealth Employee Hub Login
Muckleshoot Bingo Calendar
Uscis Fort Myers 3850 Colonial Blvd
2016 Hyundai Sonata Refrigerant Capacity
Great Clips Coupons → 20% Off | Sep 2024
Ge Tracker Awakener Orb
Walmart Tires Hours
Cappacuolo Pronunciation
Vector Driver Setup
Ultimate Guide to Visiting Dungeness, UK
A Flame Extinguished Wow Bugged
Mchoul Funeral Home Of Fishkill Inc. Services
How To Customise Mii QR Codes in Tomodachi Life?
Fd Photo Studio New York
Adventhealth Employee Handbook 2022
Naydenov Gymnastics Reviews
Hartford Healthcare Employee Tools
Elfqrindiscard
modelo julia - PLAYBOARD
Kbh Client Portal
Plarium Trick Or Treat
Mega Millions Lottery - Winning Numbers & Results
Buffalo Bills Football Reference
Savannah Riverboat Cruise Anniversary Package
Haverhill, MA Obituaries | Driscoll Funeral Home and Cremation Service
Killing Self Gif
Build a Free Website | VistaPrint
Keanu Reeves cements his place in action genre with ‘John Wick: Chapter 4’
Shiawassee County 911 Active Events
Crazy 8S Cool Math
Iconnect Seton
After the Yankees' latest walk-off win, ranking which starters might be headed to the bullpen
Deborah Clearbranch Psychologist Georgia
2010 Ford F-350 Super Duty XLT for sale - Wadena, MN - craigslist
Boggle Brainbusters Bonus
Terraria Cement Mixer
Enlightenment Egg Calculator
Dumb Money Showtimes Near Cinemark Century Mountain View 16
Craigslist Creative Gigs
Heffalumps And Woozles Racist
DIRECT. France-Côte d'Ivoire U23: après Barcola, deux nouveaux forfaits pour les Espoirs
Computer Repair Arboretum North Carolina
Call Of The Arbiter Code Chase Episode 3
June 21 2019 Algebra 2 Regents Answers
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated:

Views: 5694

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.