Use named ranges in Google Sheets formulas

Name a group of cells and use that name in a formula so you can see what the calculation refers to.

What the video covers

This video shows how to name cells, use that name in a formula, and manage the range later. Follow the written steps in Google Sheets in a desktop browser. You’ll need permission to edit the spreadsheet.

Watch the video on YouTube

Step-by-step instructions

  1. Select the cells that contain the values.
    In a practice sheet, put 120, 80, and 50 in B2 through B4. Select B2:B4. If B1 is a heading, leave it outside the selection so the range describes just the values you want to total.
  2. Open the named range editor.
    Choose Data, then Named ranges. In the sidebar, enter SalesAmounts in the name field. A range name may contain letters, numbers, and underscores. Start with a letter or underscore, and avoid names that look like cell addresses.
  3. Confirm the address and save.
    Check that the range field names the right sheet and ends in B2:B4. Click Done. If you use the same layout on several sheets, verify the sheet name as well as the cell addresses.
  4. Use the name in a formula.
    Select an empty cell outside the named range and type =SUM(SalesAmounts). Press Enter. The named range can also be used in a formula such as =AVERAGE(SalesAmounts).

Watch the video

Video thumbnail for Use named ranges in Google Sheets formulas Play tutorial

Watch on YouTube

Why it matters

A name like SalesAmounts tells a colleague what the formula totals. It also gives you one place to inspect the cell boundaries when the sheet changes. If you add rows to a small fixed range, check its address before you rely on the total.

Check your result

With the three sample values, =SUM(SalesAmounts) should return 250. Compare it with =SUM(B2:B4), then change 50 to 60 and confirm both formulas show 260.

Troubleshooting

If Sheets does not recognize the name, check its spelling in Data → Named ranges. If the answer is too low, check the recorded start and end cells for omitted rows. Edit the range address if it needs to cover more data. Check which formulas use the range before deleting it, because those formulas can stop working.

Reference
Google Sheets Help on naming a range of cells