How to Sum in Excel (All Things You Need to Know) - ExcelDemy (2024)

In this article, you will learn all things you need to know about how to sum in Excel.

The most used function for calculating sum is the SUM function. It allows users to quickly and accurately calculate the total of a range of numbers or cells. It simplifies complex calculations by providing a straightforward method.

There are some other available functions and features for finding a sum that we can consider depending on the situation and the use case.

This tutorial will provide you with a complete guideline on summing rows and columns, sum filtered cells, sum on condition, sum specific values, etc.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (1)

Download Practice Workbook

Sum in Excel.xlsx

Sum a Range of Cells with AutoSum Feature

To apply the AutoSum feature for summing a range of cells:

  • Select a cell where you want to apply autosum > go to the Home tab > click AutoSum under the Editing group.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (2)

  • This will insert the SUM formula.
  • Press ENTER.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (3)

Hence Excel will automatically calculate the sum of the range.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (4)

Sum Selected Cells from Excel Properties

Just click on the Column name that contains your data. At the bottom section of the worksheet window, Excel will show you some properties of the selected range. You can get the sum from here.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (5)

Sum Single or Entire Column in Excel

To sum a column in Excel, you can use the SUM function directly. Apply the following formula to calculate the sum of an entire column.

This formula will calculate the sum of cells ranging from D5 to D11.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (6)

Find Sum of Filtered Cells with SUBTOTAL Function

For a filtered range of cells, we have applied the SUBTOTAL function to find the sum.

=SUBTOTAL(9,D5:D14)

We found the Total Quantity => 26.

For the data below, we want to find the sum of Monitor only, so we need to filter the Item column for Monitor.

  • Click on the filter icon (the dropdown arrow) on the Item column.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (7)

  • Mark only Monitor and click OK.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (8)

  • This command will calculate the sum only for Monitor. So the total output will be decreased as now the concerning item is only the Monitor.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (9)

Convert Range to Table for Calculating Sum

To convert your data range to a table for finding the sum, act as below:

  • Select a random cell in the range > go to Insert tab > click Table.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (10)

  • Click OK on the Create Table dialog box.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (11)

  • After creating a Table, go to the Table Design tab > put a checkmark on Total Row.

This will insert a new column that will show you the sum of the numbers.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (12)

Calculate the Sum of Running Factors

The dataset below represents the statement of a balance sheet. In column B, we have some transactions. Follow the formula below for the first factor.

=SUM(C$5:C5)

Then, drag the Fill Handle tool down. This will Autofill the formula and calculate the running total for the factors.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (13)

Calculate Sum Based on Condition in Excel

Use SUMIF Function to Match Single Criterion

From the dataset below, we want to get the sum of product quantity for Mike. So, we have only a single criterion here. The SUMIF function calculates the sum for a range based on a single criterion.

=SUMIF(B5:B14,B5,D5:D14)

This formula calculates the sum in the range D5:D14 based on the cell value of B5.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (14)

Use SUMIFS Function to Match Multiple Criteria

If you want to calculate the total quantity of Monitor purchased by Mike, in that case, you can use the SUMIFS function. The SUMIFS function calculates some based on multiple criteria.

=SUMIFS(D5:D14,B5:B14,B9,C5:C14,C9)

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (15)

Sum Every Nth Row in Excel

To sum up every nth row, you can use a combination of SUM, MID, and ROW functions. Apply the following formula to sum every 2nd row from your dataset.

={SUM(D5:D14*(MOD(ROW(D5:D14),2)=0))}

This formula takes only every 2nd row in the range D5:D14.

This is an array formula. So don’t forget to press CTRL+SHIFT+ENTER to apply the formula.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (16)

Sum Largest Values in Excel

To find the sum of a specific number of largest values, you can use a combination of the SUM and the LARGE functions. Apply the following formula to find the top 3 largest values in your dataset.

=SUM(LARGE(D5:D14,{1,2,3}))

This formula will find the sum of the top 3 numbers in the range D5:D14.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (17)

Sum Range with Text Values and Error in Excel

If your sum range contains some text values or errors, you can use the IFERROR function in that context. The following formula can serve your needs.

=SUM(IFERROR(D5:D14,0))

When the formula finds some text or errors, it considers 0 in that place and sums with the range.

How to Sum in Excel (All Things You Need to Know) - ExcelDemy (18)

Frequently Asked Questions

1. What is the sum range?

The sum range refers to the range of cells that you want to add together. It is the set of cells that you specify as the input for the function to calculate the sum.

2. What is subtotal in Excel?

In Excel, the SUBTOTAL function is used to calculate various types of subtotals within a range of data. The SUBTOTAL function is particularly useful when working with filtered data or when you want to calculate subtotals for specific sections within a larger dataset.

Key Takeaways from the Article

  • The SUM function is the most used function to calculate the sum in Excel.
  • SUMIF and SUMIFS functions are used to sum cells based on condition.
  • The SUBTOTAL function is used to find the sum of filtered cells.
  • AutoSum feature inserts the SUM function to calculate the sum.
  • Texts and errors can be handled with the IFERROR function.

Conclusion

So, we have discussed various aspects and situations on how to sum in Excel. The concept of summing in Excel encompasses a range of powerful functions that go beyond the basic SUM function.

Functions like SUMIF, SUMIFS, AutoSum, and SUBTOTAL provide users with enhanced capabilities to perform specific calculations and handle complex datasets.

Depending on the use case, users can choose the specific function they need.

Sum in Excel: Knowledge Hub

  • SUM Random Cells in Excel
  • SUM in EXcel If the Color is Red
  • SUM Colored Cell Without VBA
  • Auto SUM in Excel
  • Ignore Blank Cells in Excel SUM
  • SUM Visible Cells With Criteria
  • [Solved!] Currency SUM Not Working

<< Go Back to How to Calculate in Excel| Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
How to Sum in Excel (All Things You Need to Know) - ExcelDemy (2024)
Top Articles
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated:

Views: 6558

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.