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.
To sum the last n columns in a table of data (i.e. last 3 columns, last 4 columns, etc.) you can use a formula based on the INDEX function. In the example shown, the formula in K5: = SUM ( INDEX ( data , 0 , COLUMNS ( data ) - ( K4 - 1 )) : INDEX (...
To lookup and retrieve an entire column, you can use a formula based on the INDEX and MATCH functions. In the example shown, the formula used to lookup all Q3 results is: = INDEX ( C5:F8 , 0 , MATCH ( I5 , C4:F4 , 0 )) Note: this formula is embedded...
To lookup and retrieve an entire row, you use the INDEX and MATCH functions. In the example shown, the formula used to look up all values for the Central region is: = INDEX ( C5:F8 , MATCH ( H5 , B5:B8 , 0 ), 0 ) How this formula works The core of...
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.