How to Sum Multiple Rows in Excel (4 Quick Ways)

 

Download the Practice Workbook


4 Quick Ways to Sum Multiple Rows in Excel

Method 1 – Using the SUM Function in Excel

Case 1.1 – Sum Multiple Rows into a Single Cell

In the following example, there are some numbers of products that are in stock in January and February. We want to sum up the numbers of product rows in a single cell.

Sum Multiple Rows into a Single Cell

Steps:

  • Select the cell where you want to put the result.
  • Insert the following formula:
=SUM(C5:D7)
  • Press Enter.
  • Sum Multiple Rows into a Single CellThe sum of those three rows is shown in a single cell.

Sum Multiple Rows into a Single Cell


Case 1.2 – By Selecting the Entire Row as Reference

Assume that new products arrive in March and April. We need to sum those products by just selecting the row numbers.

By Selecting Entire Row as Reference

Steps:

  • Select a cell and use the formula:
=SUM(7:9)
  • Hit Enter.

By Selecting Entire Row as Reference

  • This will add multiple rows of numbers together to get the total number in those rows.

By Selecting Entire Row as Reference

Read More: How to Sum Selected Cells in Excel (4 Easy Methods)


Method 2 – AutoSum Multiple Rows

Case 2.1 – AutoSum Feature

We need to sum the total of each product in the rows.

Steps:

  • Select the cells with the data and the blank cells.
  • Go to the Formula tab and choose AutoSum.

AutoSum Feature

  • Each of the rows will sum up automatically.

AutoSum Feature


Case 2.2 – AutoSum Keyboard Shortcut

Steps:

  • Select the dataset and press the Alt + = keys simultaneously.
  • This adds the sum below the cells.

Read More: Sum Formula Shortcuts in Excel (3 Quick Ways)


Similar Readings


Method 3 – Using the SUMPRODUCT Function in Excel

Let’s sum the duplicate products in row 5 and row 9.

Steps:

  • Select the result cell.
  • Insert the following formula:
=SUMPRODUCT((B5:B10=B13)*C5:E10)
  • Press Enter to see the result.

Using SUMPRODUCT Function

Read More: How to Add Multiple Cells in Excel (6 Methods)


Method 4 – Sum Matching Values from Multiple Rows in Excel

In the following example, there are three teams. We have to sum each team’s total goals.

Sum Matching Values from Multiple Rows in Excel

Steps:

  • Select the cell for team A.
  • Insert the following formula:
=SUMIF(C5:C10,"A",D5:D10) 
  • Use the following formula for team B:
=SUMIF(C5:C10,"B",D5:D10) 
  • Use the following for team C:
=SUMIF(C5:C10,"C",D5:D10) 

Sum Matching Values from Multiple Rows

  • The total goals of each team will be shown in the result column.

Read More: Excel Sum Last 5 Values in Row (Formula + VBA Code)


Related Articles

Get FREE Advanced Excel Exercises with Solutions!
Sabrina Ayon
Sabrina Ayon

Sabrina Ayon, a Computer Science and Engineering graduate from United International University, has been an integral part of the ExcelDemy project for two years. She authored 150+ articles, excelling in instructing through visually engaging Excel tutorials. With a passion for teaching, Sabrina conducted sessions on Excel VBA, sharing her knowledge and insights with others. Currently holding the position of Project Manager for the ExcelDemy Visual Development Project, she oversees various aspects of the project, ensuring its smooth operation... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo