Use the SUM function to sum numbers in a range (2024)

Excel for Microsoft 365 Excel for the web Excel 2021 Excel 2019 Excel 2016 More...Less

You can use a simple formula to sum numbers in a range (a group of cells), but the SUM function is easier to use when you’re working with more than a few numbers. For example =SUM(A2:A6) is less likely to have typing errors than =A2+A3+A4+A5+A6.

Use the SUM function to sum numbers in a range (1)

Here’s a formula that uses two cell ranges: =SUM(A2:A4,C2:C3) sums the numbers in ranges A2:A4 and C2:C3. You’d press Enter to get the total of 39787.

To create the formula:

  1. Type =SUM in a cell, followed by an opening parenthesis (.

  2. To enter the first formula range, which is called an argument (a piece of data the formula needs to run), type A2:A4 (or select cell A2 and drag through cell A6).

  3. Type a comma (,) to separate the first argument from the next.

  4. Type the second argument, C2:C3 (or drag to select the cells).

  5. Type a closing parenthesis ), and then press Enter.

Each argument can be a range, a number, or single cell references, all separated by commas.

Tip: If you need to sum columns or rows of numbers next to each other, use AutoSum to sum numbers.

Give it a try

If you want to play around with our sample data, here’s some data to use.

You can see how the SUM function works by copying the following table into a worksheet and pasting it into cell A1.

Data

-5

15

30

'5

TRUE

Formula

Description

Result

=SUM(3, 2)

Adds 3 and 2.

5

=SUM("5", 15, TRUE)

Adds 5, 15 and 1. The text value "5" is first translated into a number, and the logical value TRUE is first translated into the number 1.

21

=SUM(A2:A4)

Adds the values in cells A2 through A4.

40

=SUM(A2:A4, 15)

Adds the values in cells A2 through A4, and then adds 15 to that result.

55

=SUM(A5,A6, 2)

Adds the values in cells A5 and A6, and then adds 2 to that result. Because non-numeric values in references are not translated— the value in cell A5 ('5) and the value in cell A6 (TRUE) are both treated as text— the values in those cells are ignored.

2

Need more help?

You can always ask an expert in the Excel Tech Communityor get support inCommunities.

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Use the SUM function to sum numbers in a range (2024)

FAQs

Use the SUM function to sum numbers in a range? ›

You can use a simple formula to sum numbers in a range (a group of cells), but the SUM function is easier to use when you're working with more than a few numbers. For example =SUM(A2:A6) is less likely to have typing errors than =A2+A3+A4+A5+A6.

How do you sum numbers in a range in Excel? ›

You can add individual values, cell references or ranges or a mix of all three. For example: =SUM(A2:A10) Adds the values in cells A2:10. =SUM(A2:A10, C2:C10) Adds the values in cells A2:10, as well as cells C2:C10.

How to do a sumif with a range? ›

If you want, you can apply the criteria to one range and sum the corresponding values in a different range. For example, the formula =SUMIF(B2:B5, "John", C2:C5) sums only the values in the range C2:C5, where the corresponding cells in the range B2:B5 equal "John."

How to sum a list of names in Excel? ›

After selecting all the columns you want to add together, the bar should display a formula such as "=SUM(A:C)," with the range displaying the column letter names. Press "Enter" to display the sum of those columns in the desired cell.

How do I sum a named range in Excel? ›

In the formula, you will substitute the name of the range for the cells you would typically reference. Let's sum the Education range as an example. Click in cell E3 and type the formula =SUM(Education) and hit Enter. The formula returned the sum of the range name named Education (B3:D3).

How to use sum function in Excel? ›

Type =SUM in a cell, followed by an opening parenthesis (. To enter the first formula range, which is called an argument (a piece of data the formula needs to run), type A2:A4 (or select cell A2 and drag through cell A6). Type a comma (,) to separate the first argument from the next.

What is the formula for the range of numbers? ›

The range is calculated by subtracting the lowest value from the highest value. While a large range means high variability, a small range means low variability in a distribution.

What is the formula for range in Excel? ›

How to Calculate Range in Excel. The first part of the formula, MAX(A1:A5) , finds the highest value in the data set. The second part, MIN(A1:A5) , finds the lowest value. The minus sign in between subtracts MIN from MAX, giving us our range: 100 - 10 = 90.

What is an example of a Sumifs function? ›

For example, =SUMIFS(A2:A9, B2:B9, "=A*", C2:C9, "To?") will add all instances with name that begin with "To" and ends with a last letter that could vary.

How do I add a number between numbers in Excel? ›

Add numbers using cell references
  1. Type a number, such as 5, in cell C1. Then type another number, such as 3, in D1.
  2. In cell E1, type an equal sign (=) to start the formula.
  3. After the equal sign, type C1+D1.
  4. Press RETURN . If you use the example numbers, the result is 8. Notes:

What is the formula for sum of numbers in a range? ›

Using the Formula

(n / 2)(first number + last number) = sum, where n is the number of integers. Let's use the example of adding the numbers 1-100 to see how the formula works.

How do you sum a range of cells in Excel based on multiple criteria? ›

To sum cells that match multiple criteria, you normally use the SUMIFS function. The problem is that, just like its single-criterion counterpart, SUMIFS doesn't support a multi-column sum range. To overcome this, we write a few SUMIFS, one per each column in the sum range: SUM(SUMIFS(…), SUMIFS(…), SUMIFS(…))

How do you sum a range of cells in sheets? ›

You can use the SUM function to add up numbers from individual cells or ranges of cells. For example, if you have the values 5, 10, and 15 in cells A1, A2, and A3 respectively, you can use the formula "=SUM(A1:A3)" to calculate the sum of these values, which would be 30.

How do you sum several ranges in Excel? ›

To sum across columns with different ranges in Microsoft Excel, we can use one of the following :
  1. SUM Function with Multiple Ranges : =SUM(A1:A5, B2:B6, C3:C7)
  2. SUMPRODUCT Function : =SUMPRODUCT(A1:A5, B1:B5)
  3. SUMIF/SUMIFS for Conditional Sums : =SUMIF(A1:A10, ">5", B1:B10)
Apr 18, 2023

How to do calculations in Excel for an entire column? ›

Create a calculated column
  1. Create a table. ...
  2. Insert a new column into the table. ...
  3. Type the formula that you want to use, and press Enter. ...
  4. When you press Enter, the formula is automatically filled into all cells of the column — above as well as below the cell where you entered the formula.

How do I add a number to a range of cells in Excel? ›

Fill a column with a series of numbers
  1. Select the first cell in the range that you want to fill.
  2. Type the starting value for the series.
  3. Type a value in the next cell to establish a pattern. ...
  4. Select the cells that contain the starting values.
  5. Drag the fill handle across the range that you want to fill.

Top Articles
Ask Matt: Can REIT values go to $0?
[Solved] Which of the following are positional averages? (A) Arithme
3 Tick Granite Osrs
Antisis City/Antisis City Gym
Golden Abyss - Chapter 5 - Lunar_Angel
Knoxville Tennessee White Pages
Lamb Funeral Home Obituaries Columbus Ga
Craigslist Campers Greenville Sc
Ghosted Imdb Parents Guide
Katmoie
Triumph Speed Twin 2025 e Speed Twin RS, nelle concessionarie da gennaio 2025 - News - Moto.it
50 Meowbahh Fun Facts: Net Worth, Age, Birthday, Face Reveal, YouTube Earnings, Girlfriend, Doxxed, Discord, Fanart, TikTok, Instagram, Etc
Devourer Of Gods Resprite
REVIEW - Empire of Sin
What to do if your rotary tiller won't start – Oleomac
Marion County Wv Tax Maps
Rainfall Map Oklahoma
Committees Of Correspondence | Encyclopedia.com
Tamilyogi Proxy
Morristown Daily Record Obituary
Tripadvisor Napa Restaurants
Masterkyngmash
Best Transmission Service Margate
Puretalkusa.com/Amac
Baja Boats For Sale On Craigslist
C&T Wok Menu - Morrisville, NC Restaurant
Pawn Shop Moline Il
Churchill Downs Racing Entries
Danielle Moodie-Mills Net Worth
Bursar.okstate.edu
Kempsville Recreation Center Pool Schedule
Utexas Baseball Schedule 2023
Wcostream Attack On Titan
Gas Prices In Henderson Kentucky
Teenage Jobs Hiring Immediately
Uhaul Park Merced
The Mad Merchant Wow
Go Smiles Herndon Reviews
Dr. John Mathews Jr., MD – Fairfax, VA | Internal Medicine on Doximity
Florida Lottery Claim Appointment
Santa Clara County prepares for possible ‘tripledemic,’ with mask mandates for health care settings next month
Ghareeb Nawaz Texas Menu
Nimbleaf Evolution
Strange World Showtimes Near Marcus La Crosse Cinema
Egg Inc Wiki
Craigslist Charles Town West Virginia
Minute Clinic Mooresville Nc
Research Tome Neltharus
Solving Quadratics All Methods Worksheet Answers
Bones And All Showtimes Near Emagine Canton
Hcs Smartfind
Predator revo radial owners
Latest Posts
Article information

Author: Trent Wehner

Last Updated:

Views: 6335

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.