Use Sum Formulas in Excel to Add Cells, Ranges, & Numbers

Download Article

Simple and advanced methods to sum in Excel

Download Article

Whether you’re working with a few numbers or large datasets, there’s a Microsoft Excel summation formula for you! The most common adding function is “=SUM()”, with the target cell range placed between the parentheses. But, there are various ways to add numbers in your spreadsheet. This How.com.vn guide will show you how to use summation formulas in Microsoft Excel. We’ll cover 4 methods: the plus sign operator (+), =SUM, =SUMIF, and =SUMIFS.

Things You Should Know

  • For small-scale addition, use “=cell1 + cell2 + cell3 + …” to sum cell values.
  • For larger sets of data, use “=SUM(your numbers here)” to sum a range of values
  • To add values if they meet one criterion, use “=SUMIF(range, criteria, [sum_range])” where sum_range is optional.
  • To add values if they meet multiple criteria, use “=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)”.

Choose a Method

  1. Plus sign: Simple and intuitive, but inefficient. Best for small, quick sums.
  2. SUM function: Useful for large spreadsheets as it can sum a range of cells. Can only accept numeric arguments, not conditional values.
  3. SUMIF function: Allows you to specify a condition, and only sum values that meet that condition.
  4. SUMIFS function: Allows for complex logical statements by setting multiple criteria. Not available for Excel 2003 or earlier.
Method 1
Method 1 of 4:

Using the Plus Sign (+)

Download Article
  1. How.com.vn English: Step 1 Enter the formula into a new cell.
    Make a new spreadsheet. Then, select a cell and type an equals sign (=). Then, alternate between clicking a cell with a value, and typing “+”. Your formula should end with the final cell you want to sum. Your finished formula should look like cell1 + cell2 + cell3. Hit the Enter key when you complete your formula.
    • For example, =C4+C5+C6+C7 will sum the values of the four cells, C4, C5, C6, and C7.
    • Each time you click on another cell, Excel will insert the cell reference for you (C4, for example), which tells Excel which spreadsheet cell contains the number (for C4, it's the cell in column C, in row 4).
    • If you know which cells you want to calculate, you can type them out instead of clicking them individually.
    • Excel functions will recognize a combination of numbers and cell references in formulas. For example, you could type “=5000+C5+25.2+B7”.
    • If you’re looking for subtraction information, check out our guide on how to subtract in Excel.
  2. Advertisement
Method 2
Method 2 of 4:

Using the SUM Function

Download Article
  1. How.com.vn English: Step 1 Use the SUM function to add two or more cells.
    Select the cell you want the summation to output to. Then, type an equals sign (=), SUM, and the cells you’re summing enclosed in parenthesis. The function should look like this: =SUM(your numbers here).
    • For example, =SUM(C4,C5,C6,C7) will add the numbers contained in the 4 cells within the parentheses.
  2. How.com.vn English: Step 2 Use the SUM function to add a range of cells.
    If you provide a starting and ending cell, separated by a colon (:), you can sum large sections of the spreadsheet. The function should look like this: =SUM(cell1:cell2)' where “cell1” and “cell2” are your starting and ending cell respectively.
    • For example, =SUM(C4:C7) sums the values in C4 to C7.
    • You don't have to type out “C4:C7”. After typing “=SUM(” you can select a range by clicking and dragging your cursor from cell C4 to C7. The range will appear in the formula following the open parenthesis. Add the closing parenthesis at the end, and you're done!
    • For a large range of numbers, this is much faster than clicking on each cell individually.
  3. How.com.vn English: Step 3 Use the AutoSum Wizard.
    If you’re using Excel 2007 or later, an alternative to typing “=SUM” is using AutoSum.[1]
    • Select the cell you want the summation to output to.
    • Go to the Format tab > AutoSum drop-down arrow > Sum.
    • Select the range of cells you want to sum.
    • AutoSum might be limited to contiguous cell ranges in some versions of Excel; if you want to skip cells in your calculation, it may not work correctly.
  4. How.com.vn English: Step 4 Copy/paste data into other cells.
    Since the cell with the function holds both the sum value and the sum function, you have to consider which you want copied.
    • Copy the cell with the summation by pressing Ctrl + c (Windows) or Cmd + c (Mac). Then, select another cell and go to the Home tab > Clipboard drop-down and select either Paste Formulas or Paste Values.
  5. How.com.vn English: Step 5 Reference sums in other functions.
    You can use the value of your summation cell in other functions. Rather than making a new summation or typing out the number value of your previous function, you can reference the original sum cell in other calculations.
    • For example, let’s say you create a summation function for column C in C20 and column D in D20. You can add these sums by selecting a new cell and typing “=SUM(C20, D20)”
    • This essentially nests your two summations into a third summation formula. Then, if your summation of C or D changes, this third summation will automatically update.
  6. Advertisement
Method 3
Method 3 of 4:

Using the SUMIF Function

Download Article
  1. How.com.vn English: Step 1 Use the basic SUMIF function.
    The SUMIF function allows you to sum values when they meet a criteria. The criteria can be within the range of values itself, or in a different range that is the same size as the values range. If the criteria is in the range itself, follow these steps:[2]
    • Type =SUMIF( in a new cell.
    • Select or type the range of cells you want to sum, then type a comma (,).
    • Type a numerical criteria in double quotation marks, then type a closing parenthesis.
    • For example, if you want to only sum numbers in a range that are greater than 10, you could type “=SUM(C1:C10, “>10”)”
  2. How.com.vn English: Step 2 Set up your data for SUMIF.
    If you’re using the optional parameter [sum_range], you’ll need separate columns for the range you want compared to the criteria and the range you want to sum. There are multiple ways to format a spreadsheet, but here’s a basic setup for SUMIF:
    • Create one column with number values and a second column with a conditional value, like “yes” and “no”.
    • For example, a column with 4 rows with values 1, 2, 3, and 4 and a second column with values of “yes” or “no”.
    • This setup is similar to using VLOOKUP.
  3. How.com.vn English: Step 3 Enter the function into a cell.
    To create a SUMIF formula using the optional [sum_range], follow these steps:
    • Select a new cell and enter “=SUMIF(”
    • range — Select or type a range of values to compare to the criteria. Then type a comma (,). This will be the range in the column where you placed your conditional values.
    • criteria — Type in the criteria. This can be numerical, text-based, or boolean (TRUE/FALSE). Enclose this criteria with double-quotation marks. Then type a comma (,).
    • sum_range — Select or type a range of values to sum. This will be the column you created with number values.
    • The sum_range argument should be the same shape and size as range. The SUMIF formula will check the value in each range cell and add the respective sum_range cell to the sum.
    • For example: “=SUMIF(C1:C4, “yes”, B1:B4)” will sum values in the range B1:B4 if the cell in C1:C4 is the string “yes”.
  4. Advertisement
Method 4
Method 4 of 4:

Using the SUMIFS Function

Download Article
  1. How.com.vn English: Step 1 Setup your data table.
    The setup is similar to SUMIF, but can support multiple criteria with multiple ranges.[3]
    • Create one column with number values. These are the values you’ll sum if the criteria in the criteria ranges are met.
    • Create multiple columns containing conditional values (e.g. yes/no, TRUE/FALSE, locations, dates, numeric values).
  2. How.com.vn English: Step 2 Enter your SUMIFS function.
    To create a SUMIFS formula using multiple criteria, follow these steps:
    • Select a new cell and enter “=SUMIFS(”
    • sum_range — Select or type a range of cells to sum. Then type a comma (,). This will be the range in the column where you typed your number values.
    • criteria_range1 — Select or type a range of values to compare to criteria1. Then type a comma (,). This will be one range in a column where you placed conditional values.
    • criteria1 — Type in a criteria. This can be numerical, text-based, or boolean (TRUE/FALSE). Enclose this criteria with double-quotation marks. Then type a comma (,).
    • criteria_range2 — Select or type a range of values to compare to criteria2. Then type a comma (,). This will be the second range in a column where you placed conditional values.
    • criteria2 — Type in a criteria. This can be numerical, text-based, or boolean (TRUE/FALSE). Enclose this criteria with double-quotation marks. Then type a comma (,).
    • Continue creating additional criteria_range and criteria as needed.
    • The sum_range argument should be the same shape and size as every criteria_range. The SUMIFS formula will check the value in each criteria_range cell and add the respective sum_range cell to the sum.
    • For example: “=SUMIFS(B1:B4, C1:C4, “yes”, D1:D4, “california”)” will sum values in the range B1:B4 if the cell in C1:C4 is the string “yes” and the cell in D1:D4 is the string “california”.
  3. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Need help adding results of very long formulas. The SUM works only if written in one single very long line.
    How.com.vn English: Community Answer
    Community Answer
    You can establish ranges for SUM using a colon (:). This means you can skip all of the cells in between instead of adding them together one by one.
  • Question
    What does the number one mean in =$J$1* - E4?
    How.com.vn English: Community Answer
    Community Answer
    The $ both in front of the J and 1 mean that its reference is 'locked'. That means if you copy and paste the formula, or use the Excel Fill Handle (the little click-and-drag bit on the bottom-right of a cell when you click on it), the parts that immediately follow the $ stay the exact same. For instance, if it were just $J1, instead of $J$1, copying and pasting it a 4 rows down, the cell reference would be $J4; if it were J$1, copying and pasting it to the left one column would make the cell reference I$1.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      • There’s no reason to use complex functions for simple math; likewise no reason to use a simple functions when a more complex function will make life simpler. Take the easy road.
      • These summation functions also work in other free spreadsheet software, like Google Sheets.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Kyle Smith
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Kyle Smith. Kyle Smith is a How.com.vn Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo. This article has been viewed 377,547 times.
      How helpful is this?
      Co-authors: 17
      Updated: March 17, 2024
      Views: 377,547
      Categories: Microsoft Excel
      Article SummaryX

      1.Use the SUM function for ranges with numeric data.
      2.Use the plus sign for small, quick sums.
      3.Use the SUMIF function to specify a condition.
      4.Use the SUMIFS function for complex logical statements.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 377,547 times.

      Reader Success Stories

      • How.com.vn English: Susan Seward

        Susan Seward

        Jun 21, 2017

        "The easy step by step guide with pictures to show how to do it was great and easy to follow!"
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement