# Use of =SUM() formula in excel

SUM Formula in Excel – Overview: The SUM formula is used to add up a range of cells in Excel. It’s one of the most commonly used functions in Excel, as it allows you to quickly find the total of a set of numbers.

Use of SUM Formula in Excel: To use the SUM formula, simply type `=SUM(` in a cell and then select the range of cells you want to add up, separated by a comma. For example, to add up the values in cells A1 to A5, you would use the formula `=SUM(A1:A5)`.

Examples of SUM Formula in Excel:

1. `=SUM(A1:A5)` – This formula will add up all the values in the range A1 to A5. It will return the total of the values in the cells A1 to A5.
2. `=SUM(B1,B2,B3,B4,B5)` – This formula will add up the values in cells B1, B2, B3, B4, and B5. It will return the total of the values in these cells.
3. `=SUM(C1:C5,D1:D5)` – This formula will add up the values in both the range C1 to C5 and the range D1 to D5. It will return the total of the values in both ranges.
4. `=SUM(A1:A10,B1:B10)` – This formula will add up the values in both the range A1 to A10 and the range B1 to B10. It will return the total of the values in both ranges.
5. `=SUM(A1:A100)` – This formula will add up all the values in the range A1 to A100. It will return the total of the values in the cells A1 to A100.
6. `=SUM(A1:A100,B1:B100)` – This formula will add up the values in both the range A1 to A100 and the range B1 to B100. It will return the total of the values in both ranges.
7. `=SUM(A1,A2,A3,A4,A5,B1,B2,B3,B4,B5)` – This formula will add up the values in cells A1, A2, A3, A4, A5, B1, B2, B3, B4, and B5. It will return the total of the values in these cells.
8. `=SUM(A1:A5,C1:C5)` – This formula will add up the values in both the range A1 to A5 and the range C1 to C5. It will return the total of the values in both ranges.
9. `=SUM(A1:A10,C1:C10)` – This formula will add up the values in both the range A1 to A10 and the range C1 to C10. It will return the total of the values in both ranges.
10. `=SUM(A1:A20,B1:B20,C1:C20)` – This formula will add up the values in the ranges A1 to A20, B1 to B20, and C1 to C20. It will return the total of the values in all three ranges.

Why Use SUM Formula in Excel: SUM formula is used to quickly find the total of a set of numbers in Excel, without the need to manually add up each number. It saves time and helps to ensure accuracy when working with large amounts of data. Additionally, using the SUM formula allows you to easily update your total if the values in your range change, as the formula will automatically recalculate based on the new values.

SUM with conditions: You can also use the SUM formula in combination with other functions, such as the IF function, to sum values based on certain conditions. For example, you can use the formula `=SUMIF(A1:A5, ">5")` to find the sum of all values in the range A1 to A5 that are greater than 5.

SUM with multiple sheets: You can also use the SUM formula to add up values from multiple sheets within the same workbook. For example, if you have a range of values on Sheet1 and another range of values on Sheet2, you can use the formula `=SUM(Sheet1:Sheet2!A1:A5)` to add up the values in the range A1 to A5 on both sheets.

SUM with named ranges: You can also use named ranges in the SUM formula. A named range is a named group of cells that you can use in formulas, instead of using cell references. For example, if you have a named range “Sales” that covers cells A1 to A5, you can use the formula `=SUM(Sales)` to add up the values in the range.

SUM with arrays: You can also use arrays in the SUM formula. An array is a set of values that you can use in a single formula. For example, you can use the formula `=SUM({1,2,3,4,5})` to add up the values 1, 2, 3, 4, and 5.

In conclusion, the SUM formula is a very useful function in Excel that allows you to quickly find the total of a set of numbers. Whether you’re working with a simple range of values or more complex sets of data, the SUM formula can help you find the answers you need. #### esyExcel

Gavesh S. is the founder and owner of EsyExcel.com. He has been a Microsoft Excel Expert since early 2012. With experience explained thousand of queries for companies including Microsoft and top other financial institutions. Theres is most uses of Business Analysis, People Management, Automation, Performance Reporting, Strategic Analysis, Project Management, Managing Programs, Account Management etc.  In 2021 he found EsyExcel.com to share his experiences with other who’s is looking to learn MS Excel. He is currently working on a book about working in the Learn Excel, expanding his skill set beyond the Excel Learning niche.