Summing values in vertical and horizontal ranges in Microsoft Excel

Select the range of data, including the empty rows and columns surrounding the data A1:K11 (see screenshot).
A quick technique for selecting data without using the mouse:
select cell A1, press Shift, and select cell K11.
Now press Alt+= or click the AutoSum icon.

Result: The SUM formula is added to the end of each row and the bottom of each column.

Screenshot // Summing values in vertical and horizontal ranges in Microsoft Excel
Summing values in vertical and horizontal ranges in Microsoft Excel

Comments

  1. "Does anyone know how to limit a SUM function to a range from a dynamic input?

    E.g. Columns A B C D each contains monthly data. From a user input, example 3, I want to calculate the sum of the choosen columns (example here, the first 3 columns A B C)."

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.