Finance

Charts

Statistics

Macros

Search

How to use the SUM() Function in Excel

Its returns the sum of all specified numbers or ranges.

Syntax:
SUM(number1; [number2]; …)

Arguments:

Argument Description
number1 Required. First number or range to sum
number2,… Optional. Additional values to sum (1-254 total)

Key Features:

  1. Input Flexibility:
    • Accepts individual numbers (=SUM(1,2,3))
    • Accepts cell ranges (=SUM(A1:A10))
    • Accepts mixed arguments (=SUM(A1:A5,10,B2:B4))
  2. Automatic Handling:
    • Ignores empty cells, text, and logical values in ranges
    • Converts numeric text (« 12 ») to numbers
    • Treats TRUE as 1 and FALSE as 0
    • Returns errors if arguments contain error values

Technical Specifications:

  • Maximum 255 arguments
  • Works with numbers up to 15-digit precision
  • Processes up to 32,767 characters in formula text

Examples:

Best Practices:

  1. Use the Alt+= shortcut for quick sum insertion
  2. For conditional sums, consider:
    • SUMIF() for single criteria
    • SUMIFS() for multiple criteria
  3. To sum only visible cells, use SUBTOTAL(9, range)

Common Errors:

Error Cause Solution
#VALUE! Non-numeric text argument Verify data types
#REF! Invalid reference Check range addresses
#NAME? Misspelled function Correct to « SUM »

Version Notes:

  • Behavior consistent across all Excel versions
  • Argument limit increased from 30 to 255 in Excel 2007

Related Functions:

  • SUBTOTAL(): Ignore filtered/hidden rows
  • SUMIF(): Conditional summation
  • SUMPRODUCT(): Sum of products
0 0 votes
Évaluation de l'article
S’abonner
Notification pour
guest
0 Commentaires
Le plus ancien
Le plus récent Le plus populaire
Online comments
Show all comments
Facebook
Twitter
LinkedIn
WhatsApp
Email
Print
0
We’d love to hear your thoughts — please leave a commentx