ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Basics
  3. What Is a Range in Excel? A1:B5 Explained

What Is a Range in Excel? A1:B5 Explained

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

A range in Excel is a group of cells, written as the first cell, a colon and the last cell. A1:B5 means every cell in the rectangle from A1 to B5: columns A and B, rows 1 to 5, so 10 cells. You use ranges in formulas such as =SUM(B2:B6) to work on many cells at once.

Key takeaways

  • A range is written first cell:last cell. The colon means "through", so A1:B5 is A1 through B5.
  • A range is always a rectangle: the number of cells is rows × columns, so A1:B5 has 5 × 2 = 10.
  • Whole columns are written A:A, whole rows 1:1, and separate ranges are joined with a comma.
  • Add $ signs ($B$2:$B$6) to keep a range fixed when you copy a formula.
On this page+
  1. What is a range in Excel?
  2. How to read a range address like A1:B5
  3. Types of ranges you'll see
  4. How to select a range
  5. How to use a range in a formula
  6. Absolute ranges and named ranges
  7. Common range mistakes
  8. Practise it

What is a range in Excel? It's a group of cells you refer to all at once, written as the first cell, a colon and the last cell. A1:B5 means the rectangle from A1 to B5: columns A and B, rows 1 to 5, which is 10 cells. Ranges are how formulas like =SUM(B2:B6) work on many cells at once. This guide explains how to read, select and use them, for anyone just starting with Excel formulas.

What is a range in Excel?#

A range is two or more cells that you select or use together. Each cell is one box in the grid, named by its column letter and row number, like B3. A range is named by its top-left cell and its bottom-right cell, with a colon between them.

The colon is called the range operator. Read it as "through": B2:B6 is "B2 through B6", which includes B2, B3, B4, B5 and B6.

Ranges are always rectangles. You can't have an L-shaped range, but you can join two rectangles with a comma, as shown below.

All the examples use this timesheet of hours worked:

ABCD
1NameMonTueWed
2Ana876
3Ben688
4Chen775
5Dina867

How to read a range address like A1:B5#

To picture a range, find the two corner cells and fill in the rectangle between them. For A1:B5:

  • The columns go from A to B: 2 columns.
  • The rows go from 1 to 5: 5 rows.
  • The cells are A1, A2, A3, A4, A5, B1, B2, B3, B4 and B5: 2 × 5 = 10 cells.

In the timesheet, B2:D5 is all the hours: 3 columns × 4 rows = 12 cells. Excel can count this for you with =ROWS(B2:D5)*COLUMNS(B2:D5), which returns 12.

Order doesn't change the cells. D5:B2 covers the same block, and Excel rewrites it as B2:D5 when you press Enter.

Types of ranges you'll see#

Ranges come in a few shapes. Here they are on the timesheet:

RangeWhat it coversExample in the timesheet
B2:B5Part of one columnEveryone's Monday hours
B3:D3Part of one rowBen's hours for the week
B2:C4A block of rows and columnsAna, Ben and Chen on Mon and Tue
B:BA whole columnEvery cell in column B
3:3A whole rowEvery cell in row 3
B2:B5,D2:D5Two separate ranges joined with a commaMonday and Wednesday, skipping Tuesday
B5A single cell, a range of oneDina's Monday

Whole-column ranges like B:B are handy when a list keeps growing, but they include the header and everything else in the column, so use them with care.

How to select a range#

There are three main ways to select a range. When you select a range, Excel highlights it, and the active cell (where you started) stays white.

With the mouse: click the first cell and drag to the last one. Or click the first cell, hold Shift and click the last cell. That second way is easier for big ranges.

With the keyboard: click the first cell, hold Shift and press the arrow keys. To jump to the end of the data in one go, press Ctrl+Shift+↓ (Mac: ⌘+Shift+↓).

For a whole column or row: click the column letter or row number. With the keyboard, Ctrl+Space selects the column and Shift+Space selects the row. On a Mac, Control+Space may switch the keyboard language instead, so click the column letter.

The selection shortcuts lesson practises all of these, and the guide to selecting ranges fast adds more tricks for large sheets. Once a range is selected, the status bar at the bottom of the window shows its sum, average and count, with no formula needed; see the status bar sum for how to use it.

How to use a range in a formula#

Most functions take a range as their input. Type the function, then select the range with the mouse or type its address:

Excel formula
=SUM(B2:B5)

This adds everyone's Monday hours: 8 + 6 + 7 + 8 = 29. Here are a few more on the same data:

QuestionFormulaResult
Ben's total for the week=SUM(B3:D3)22
All hours for everyone=SUM(B2:D5)83
Mon and Tue for Ana, Ben and Chen=SUM(B2:C4)43
Monday plus Wednesday=SUM(B2:B5,D2:D5)55
Average Monday hours=AVERAGE(B2:B5)7.25

The SUM function guide shows the other ways SUM accepts ranges, and the SUM lesson lets you try them in a live sheet.

There is also a rarely used intersection operator: a space. =SUM(B2:D5 C1:C5) adds only the cells the two ranges share, which is C2:C5, Tuesday's hours: 28. You won't need it often, but now you'll recognise it.

Absolute ranges and named ranges#

When you copy a formula, Excel moves its ranges too. =SUM(B2:B5) copied one column right becomes =SUM(C2:C5). That is usually what you want.

To keep a range fixed, add $ signs: $B$2:$B$5. Press F4 (Mac: ⌘T) after typing the range to add them. You need this when every row divides by the same total, for example.

You can also give a range a name. Select B2:D5, click the Name Box left of the formula bar, type Hours and press Enter. Now =SUM(Hours) returns 83. The guide to named ranges in Excel covers creating and editing names, and the comparison of named ranges vs cell references helps you decide when a name is worth it.

Common range mistakes#

These slips cause most wrong results with ranges:

  1. A minus sign instead of a colon. =SUM(B2-B5) subtracts B5 from B2 and returns 0, not 29. If you meant to subtract, see the Excel subtract formula; if you meant a range, use the colon.
  2. A range that misses a row. =SUM(B2:B4) leaves out Dina. Check that the range covers the last row, especially after adding data.
  3. Including the header in a count. =COUNTA(B1:B5) counts the "Mon" header too and returns 5 instead of 4.
  4. Forgetting the $ signs before copying. The range slides along and points at the wrong cells.
  5. Using a semicolon or comma the wrong way. In some regional settings, Excel uses ; between arguments instead of ,. The colon for ranges is the same everywhere.

Practise it#

Ranges are in almost every formula you'll write, so it pays to make them automatic. Try the exercise on this page, which uses a block range. Then practise selection shortcuts in a live spreadsheet: you do each step and it checks it instantly. Follow it with the SUM lesson to use ranges in your first real totals.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

What are the total hours for Ana, Ben and Chen on Monday and Tuesday only? In F2, use SUM with the block range B2:C4.

fx
ABCDEFG
1
Name
Mon
Tue
Wed
2
Ana
8
7
6
Mon-Tue hours
3
Ben
6
8
8
4
Chen
7
7
5
5
Dina
8
6
7
6
7
8

Tip: The block starts at Ana's Monday (B2) and ends at Chen's Tuesday (C4). Put B2:C4 inside SUM.

Practise this in a lesson

LessonFreeSelect ranges with ShiftHold Shift with the arrow keys to select as you go, then grab whole columns, rows and tables in one keystroke.LessonSUM and AutoSumAdd up a column of numbers with SUM, then let AutoSum write the formula for you.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.

Frequently asked questions

What is a range in Excel with an example?

+

A range is a group of cells written with a colon. For example, B2:B6 is the five cells from B2 down to B6, and =SUM(B2:B6) adds them.

How many cells are in A1:B5?

+

Ten. The range covers two columns (A and B) and five rows (1 to 5), and 2 × 5 = 10.

What is the difference between a cell and a range?

+

A cell is one box, such as A1. A range is a group of cells, such as A1:A10. A single cell can also count as a range of one cell.

What does the colon mean in an Excel formula?

+

The colon is the range operator. It means "through", so A1:A10 means A1 through A10, including every cell between them.

How do I select a range in Excel?

+

Click the first cell and drag to the last one, or click the first cell and Shift+click the last. With the keyboard, hold Shift and press the arrow keys.

Sources

  • Create or change a cell reference - Microsoft Support
  • Calculation operators and precedence in Excel - Microsoft Support
  • SUM function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What is a range in Excel?
  2. How to read a range address like A1:B5
  3. Types of ranges you'll see
  4. How to select a range
  5. How to use a range in a formula
  6. Absolute ranges and named ranges
  7. Common range mistakes
  8. Practise it

Keep reading

Basics· 5 min read

See Sum, Average and Count in the Excel Status Bar

Select two or more cells with numbers and look at the status bar, the strip along the bottom of the Excel window. It shows the Average, Count and Sum of the selection without any formula. Right-click the status bar to add Minimum, Maximum and Numerical Count. Numbers stored as text are counted but not added.

Basics· 5 min read

How to Select Ranges Fast in Excel (Keyboard Tricks)

To select a range fast in Excel, click the first cell and hold Shift while you press an arrow key. Add Ctrl (⌘ on a Mac) to jump to the last filled cell: Ctrl+Shift+Down selects a whole column of data in one press. Ctrl+A (⌘A) selects the whole table, and Shift+Space selects a row.

Productivity· 5 min read

Named Ranges in Excel: Clearer Formulas

A named range is a name, like TaxRate or Sales, that stands for a cell or range. To create one, select the cells, click the Name Box, type the name and press Enter. Then use it in formulas, such as =SUM(Sales) or =B2*TaxRate. Names are absolute by default, so they don't move when you copy a formula.

More on basics

  • How to Wrap Text in Excel (and Fix Tall Rows)
  • Fill Down and Fill Right in Excel (Ctrl+D, Ctrl+R)
  • Format Numbers as Currency, Percent and Dates in Excel
  • Move Around Excel With the Keyboard: The Complete Guide
  • Why Excel Stores Dates as Numbers (and Why It Matters)
  • How to Write Your First Excel Formula
All basics articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free