The result is the sum of all numbers in column D. As data is added to the table, the formula will continue to return a correct total.
Full column references
Excel supports “full column” like this: You can see how this works yourself by typing A:A or C:C into the name box (left of the formula bar) and hitting return. You will see Excel select the entire column.
Example
To solve the problem in the example worksheet, we can use a full column reference to column D with the SUM function like this: The result is the sum of all numeric values in column D. One advantage to full column references is that they will automatically include new data. As entries are added to the table, the formula will automatically include the new amounts.
Advantages and risks
The main advantage to full column references is simplicity. Simple and very compact, a full column reference will automatically include all data in a column, even as data is added or removed. However, full column references come with certain risks. One risk is that you may accidentally include extra data in a calculation. For example, if you use =SUM(A:A) to sum numbers in column A, you are targeting over 1 million cells. If column A includes forgotten dates somewhere far below in the worksheet, the numeric value of these dates will be included, and SUM will return an incorrect result. Another risk is performance. Because so many cells are included, full column references can cause severe performance problems in certain worksheets or formulas.
Alternatives
There are good alternatives to full column references. If you need to target data that may change in size, a good solution is an Excel Table, which will automatically adapt to changing data. Another option is to use a dynamic named range.
Dave Bruns
Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.