A range in Excel is a rectangular block of cells that you treat as a single unit, and you create one by selecting the cells (or typing their addresses like A1:C10) and then using that block in a formula, a name, or a command. The shortest working version: click the first cell, drag to the last cell, and the range A1:C10 is now selected and ready to use. Everything below explains the different ways to build a range, how to use it in formulas and names, and the mistakes that make ranges behave in unexpected ways.

What You'll Need

  • Excel for Windows, Excel for Mac, or Excel for the web (the steps below are written for the desktop versions; the web version supports the same range syntax but some right-click and Name Manager options are laid out differently).
  • A workbook with at least a few cells of data, so you can see the range highlight and test formulas.
  • No add-ins or special settings are required.

One note before you start: menu labels and right-click options can differ slightly by Excel version, platform, and region, so if a label below does not match exactly, look for the closest equivalent in the same area of the ribbon.

Step-by-Step

  1. Select a contiguous range with the mouse. Click the top-left cell of the block, hold the mouse button, and drag to the bottom-right cell. Release. The selected block is outlined and every cell inside is highlighted. The Name Box (the small box to the left of the formula bar) shows the range address, for example B2:D8.
  2. Select a range with the keyboard. Click the first cell, then hold Shift and click the last cell. To extend an existing selection, hold Shift and press the arrow keys. To select an entire column, press Ctrl+Space (Cmd+Space on Mac); for an entire row, press Shift+Space.
  3. Select a non-contiguous range. Select the first block, then hold Ctrl (Cmd on Mac) and drag over each additional block. Excel treats the whole set as one selection, and formulas that accept multiple areas will show them separated by commas, such as A1:A5,C1:C5.
  4. Type a range address directly. Click the Name Box, type the range (for example A1:C10), and press Enter. Excel selects exactly that block. This is faster than dragging when the range is large, such as A1:A5000.
  5. Use the range in a formula. Click the cell where you want the result, type =SUM(, then drag over the range or type its address, close the parenthesis, and press Enter. For example =SUM(B2:B10) adds every number in that block. The same pattern works with AVERAGE, COUNT, MAX, MIN, and most other functions.
  6. Give the range a name. Select the range, click in the Name Box, type a short name with no spaces (for example SalesQ1), and press Enter. You can now write =SUM(SalesQ1) anywhere in the workbook. To edit or delete names, open the Formulas tab and click Name Manager.
  7. Use a range for formatting or commands. With the range selected, apply a fill color, bold, number format, or a command such as Sort or a chart insert. The action applies to every cell in the range at once.
  8. Convert the range to a table if you want automatic expansion. Select the range, go to Insert and click Table, confirm the range and whether it has headers, and click OK. A table expands automatically when you add rows below it, which a plain range does not do.

Common Mistakes

  • Leaving the header row inside a numeric range. If =SUM(B1:B10) includes a text header in B1, Excel ignores the text, but functions like AVERAGE and COUNT can give results that look wrong because the header is being counted as an item in some contexts. Start the range at the first data row.
  • Forgetting the dollar signs when copying. A relative range like A1:A10 shifts when you copy the formula down or across. Use $A$1:$A$10 to lock it in place.
  • Assuming a plain range grows. If you add a row below A1:A10, formulas that reference A1:A10 do not include the new row. Convert the range to a table, or reference whole columns, if you need automatic expansion.
  • Selecting a range that includes blank rows. Functions like COUNTA count blanks as cells in some cases, and charts may show gaps. Check the block before you use it.
  • Typing a range without the colon. A1A10 is not a range; Excel needs the colon, as in A1:A10.
  • Using a name that looks like a cell address. A name such as Q1 is rejected because it matches a cell reference. Use something like Sales_Q1 instead.

Tips

  • Press Ctrl+Shift+End to select from the active cell to the last used cell in the sheet, which is handy for large ranges.
  • Press F4 while editing a formula to cycle a reference through relative, absolute row, absolute column, and fully absolute forms.
  • Use the Name Box to jump quickly: type a range and press Enter to select it, then press Ctrl+. (Ctrl+period) to move the active cell around the corners of the selection.
  • Named ranges make formulas easier to read and audit; a formula like =SUM(SalesQ1) is clearer than =SUM(B2:B40).
  • If you only need a single value from a range, INDEX and MATCH or XLOOKUP can pull it without selecting the whole block first.

Troubleshooting

  • The formula returns #VALUE! or an unexpected number. Check that the range contains only numbers where the function expects them. Text, error values, or hidden rows can change the result.
  • The range will not select. Make sure the sheet is not protected (Review tab, Unprotect Sheet) and that you are not in edit mode inside a cell. Press Esc and try again.
  • A name is rejected. Names cannot contain spaces, cannot start with a number, and cannot look like a cell reference. Shorten or adjust the name.
  • Copying a formula gives wrong results. The reference is probably relative. Add dollar signs or use a named range.
  • A table does not include new rows. Confirm the new rows are directly adjacent to the table. If there is a blank row between the table and the new data, the table will not expand.

Frequently Asked Questions

What is the difference between a range and a table in Excel?

A range is a fixed block of cells. A table is a structured object built on top of a range that expands automatically, carries its own formatting, and can be referenced by column name in formulas.

Can I name a range that spans multiple sheets?

No. A named range must refer to cells on a single sheet. To combine data from several sheets, use a formula such as =SUM(Sheet1!A1:A10,Sheet2!A1:A10) or a consolidation approach.

How do I select a range without dragging?

Click the Name Box, type the range address (for example A1:C10), and press Enter. You can also click the first cell and Shift+click the last cell.

Why does my SUM ignore some cells in the range?

SUM ignores text and blanks, so if a number is stored as text (often left-aligned), it will be skipped. Convert those cells to numbers, or use SUMPRODUCT with a conversion if needed.

Can a range include cells from another workbook?

Yes, but the reference must include the workbook name in square brackets, and the other workbook should be open when you build the formula. Closed workbooks can break external references.

How do I delete a named range?

Open the Formulas tab, click Name Manager, select the name, and click Delete. Formulas that used the name will show a #NAME? error until you replace the reference.