Microsoft Excel Tutorial - How to add values in rows, columns and SUM function

Microsoft Excel Tutorial - How to add cells in rows, columns and SUM function

Microsoft Excel Tutorial - How to add values in rows, columns and SUM function
 |  BY ProjectPro

There are a variety of ways to add up the numbers found in two or more cells in Excel. This lesson shows you several methods including the SUM function.

 

To add two or more numbers in Excel you need to create a formula. Two important points to remember about Excel formulas:
 

  • formulas in Excel always begin with the equal sign ( = )
  • the equal sign always goes in the cell where you want the answer to go
     

 

 

 

 

 

 

 

 

 


Option One – Adding Numbers in Column

 

Let's say you want to add cells in column A, such as A1, A2, A3 and A4. You can type the following formula into, say, A5:


For example you want to add the following values: A1=3 ; A2=1 ; A3=21; A4=5

=A1+A2+A3+A4    


If you type this and then press Enter, the result of this calculation will be displayed in cell A5 (the place you typed the formula).  

Cell A5 will display total = 30.
 

Macintosh HD:Users:asmafarooqui:Desktop:Screen shot 2014-01-08 at 8.45.57 PM.png

Also note that Excel doesn't mind if you type the formula in lower case as shown below - Excel will automatically convert each letter to uppercase when you press Enter:
 

=a1+a2+a3+a4
 

The great thing about adding up cells in this way is that the formula will always show the current value of the sum of these cells. Any time you change one of the values in cells A1,A2, A3 or A4, the value in A5 will change immediately to show the correct sum of these cells.

Macintosh HD:Users:asmafarooqui:Desktop:Screen shot 2014-01-08 at 8.45.57 PM.png
 

Of course, this approach to adding up cells becomes difficult to manage once you have a large number of cells to be added.

Here's what valued users are saying about ProjectPro

Having worked in the field of Data Science, I wanted to explore how I can implement projects in other domains, So I thought of connecting with ProjectPro. A project that helped me absorb this topic was "Credit Risk Modelling". To understand other domains, it is important to wear a thinking cap and...

Gautam Vermani

Data Consultant at Confidential

ProjectPro is a unique platform and helps many people in the industry to solve real-life problems with a step-by-step walkthrough of projects. A platform with some fantastic resources to gain hands-on experience and prepare for job interviews. I would highly recommend this platform to anyone...

Anand Kumpatla

Sr Data Scientist @ Doubleslash Software Solutions Pvt Ltd

Not sure what you are looking for?

View All Projects


Option Two – Adding Numbers in Rows

 

Let's say you have several cells in column A, B and C such as A1, B1, and C1. You can type the following formula into, say, D1:

=A1+B1+C1       or         =a1+b1+c1
 

Macintosh HD:Users:asmafarooqui:Desktop:Screen shot 2014-01-09 at 4.25.50 PM.png

 

 

 

 

 

 

 

If you type this and then press Enter, the result of this calculation will be displayed in cell D1 (the place you typed the formula).

 

 

 

 

 

 

 

 


Also note that Excel doesn't mind if you type the formula in lower case as shown below - Excel will automatically convert each letter to uppercase when you press Enter:


Related: MS Excel for Business Professionals


Option Three – Adding values in different Cells

 

Lets say you want to add values present randomly in different cells like. A2, C3, D4 and show result in cell E1. You can type the following formula into, say, E1:
 

=A2+C3+D4       or         =a2+c3+d4
 

Macintosh HD:Users:asmafarooqui:Desktop:Screen shot 2014-01-08 at 9.06.53 PM.png

 

 

 

 


 

 


If you type this and then press Enter, the result of this calculation will be displayed in cell E1 (the place you typed the formula).


Note that if one or more of the cells are empty or contain text rather than a number, Excel will simply ignore those values when calculating the result.

Of course, this approach is best if you want to add up values present in different cells in Excel.



Related: The Ultimate Guide to Building a Financial Model



Option Four - use the SUM() function when you want to add more than 10 or more values

The SUM() function is a more efficient way of adding up cells since it allows you to specify the first and last cell in a range of cells to be added up. The SUM() function then adds up all the cells from the start to the end of the range. It is particularly powerful because it can be used to add up millions of cells in a very short, simple formula.


If we look at our earlier example, you could use SUM() as shown in the following formula, which would achieve the same result (adding up cells A1 to A15). In cell A16 you can type the following formula.

 

Macintosh HD:Users:asmafarooqui:Desktop:Screen shot 2014-01-08 at 9.14.37 PM.png

=sum(A2:A15)

 

This formula adds up all the cells from A1 to A15 inclusive. That way, if you were adding up a larger range of cells, such as from A1 to A200, you could type:

 

=sum(A1:A200)

 

 

 

 

Macintosh HD:Users:asmafarooqui:Desktop:Screen shot 2014-01-08 at 9.17.40 PM.png
You can add up numbers from more than one column at the same time. Let's say that column B also contains numbers that should be included in the calculation. You could write the formula as follows in cell B16:

=sum(A1:B15)

 

 

About the Author

ProjectPro

ProjectPro is the only online platform designed to help professionals gain practical, hands-on experience in big data, data engineering, data science, and machine learning related technologies. Having over 270+ reusable project templates in data science and big data with step-by-step walkthroughs,

Meet The Author arrow link