Sample Data
This table shows names, ages, and cities of three people.
| Cell | Value |
|---|---|
| A1 | Name |
| B1 | Age |
| C1 | City |
| A2 | Alice |
| B2 | 30 |
| C2 | New York |
| A3 | Bob |
| B3 | 25 |
| C3 | Los Angeles |
| A4 | Carol |
| B4 | 28 |
| C4 | Chicago |
This table shows names, ages, and cities of three people.
| Cell | Value |
|---|---|
| A1 | Name |
| B1 | Age |
| C1 | City |
| A2 | Alice |
| B2 | 30 |
| C2 | New York |
| A3 | Bob |
| B3 | 25 |
| C3 | Los Angeles |
| A4 | Carol |
| B4 | 28 |
| C4 | Chicago |
=SUM(B2:B4)A B C 1 | Name | Age | City | 2 | Alice | 30 | New York | 3 | Bob | 25 | Los Angeles| 4 | Carol | 28 | Chicago | Formula references cells B2, B3, B4 highlighted.
A B C 1 | Name | Age | City | 2 | Alice | 30 | New York | 3 | Bob | 25 | Los Angeles| 4 | Carol | 28 | Chicago | 5 | | 83 | | Cell B5 shows the sum of ages from B2 to B4.