Excel supports "full column" and "full row" references like this:
=SUM(A:A)// sum all of column A=SUM(3:3)// sum all of row 3
You can see how this works yourself by typing "A:A", "3:3", etc. into the name box (left of the formula bar) and hitting return — Excel will select the entire column or row.
Full column and row references are an easy way to reference data that may change in size, but you need to be sure that you aren't unintentionally including extra data. For example, if you use =SUM(A:A:) to sum all of column A, and column A also includes a date somewhere (anywhere), this date will be included in the sum.
The key to understanding this formula is to realize that the INDEX function can be used to return a reference to entire rows and entire columns . To generate a reference to the "last n columns" in a table, we build a reference in two parts, joined...
The gist: use MATCH to identify the column index, then INDEX to retrieve the entire column by setting the row number to zero. Working from the inside out, MATCH is used to get the column index like this: MATCH ( I5 , C4:F4 , 0 ) The lookup value "Q3...
The core of this formula is to use the MATCH function to identify the row index, and the INDEX function to retrieve the entire row by setting the column number to zero. Working from the inside out, MATCH is used to get the row index like this: MATCH...
The Excel SUM function returns the sum of values supplied. These values can be numbers, cell references, ranges, arrays, and constants, in any combination. SUM can handle up to 255 individual arguments.
Excel Formula Training
Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.