CHAPTER 4Working with Excel Ranges and Tables
Most of the work you do in Excel involves cells and ranges. Understanding how best to manipulate cells and ranges will save you time and effort. This chapter discusses a variety of techniques that are essential for Excel users.
Understanding Cells and Ranges
A cell is a single element in a worksheet that can hold a value, some text, or a formula. A cell is identified by its address, which consists of its column letter and row number. For example, cell D9 is the cell in the fourth column and the ninth row.
A group of one or more cells is called a range. You designate a range address by specifying its upper-left cell address and its lower-right cell address, separated by a colon.
Here are some examples of range addresses:
C24 | A range that consists of a single cell. |
A1:B1 | Two cells that occupy one row and two columns. |
A1:A100 | 100 cells in column A. |
A1:D4 | 16 cells (four rows by four columns). |
C1:C1048576 | An entire column of cells; this range also can be expressed as C:C. |
A6:XFD6 | An entire row of cells; this range also can be expressed as 6:6. |
A1:XFD1048576 | All cells in a worksheet. This range also can be expressed as either A:XFD or 1:1048576. |
Selecting ranges
To perform an operation on a range of cells ...
Get Microsoft Excel 365 Bible now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.