What Is the Formula to Add in Google Sheets: A Practical Guide
Learn the core formulas to perform addition in Google Sheets, from simple plus arithmetic to SUM, SUMIF, and array tricks. Practical examples, edge cases, and best practices for students, professionals, and small business owners.

If you’re asking what is the formula to add in google sheets, start with the simplest approach: use the + operator between cells. For larger datasets, aggregate with SUM and handle conditions with SUMIF or SUMIFS. This guide walks through core formulas with practical, copy-paste examples. These techniques scale from a small worksheet to large datasets.
Basics: How addition works in Google Sheets
Addition in Google Sheets is fundamental for budgeting, data analysis, and reporting. The core idea is simple: you can add values from two cells using the + operator, or sum entire ranges with SUM. In practice, these techniques scale from a simple A1+B1 pair to large, multi-column datasets. According to How To Sheets, understanding these basics unlocks faster, safer calculations across your worksheets. The How To Sheets team emphasizes building reliable formulas by starting with the simplest pattern and expanding to conditional sums as data grows. The core concept: arithmetic is first-class in Sheets, and the software handles both vectorized and scalar arithmetic.
Examples
=A2 + B2=SUM(A2:A10)=ArrayFormula(A2:A10 + B2:B10)- The
+operator adds corresponding cells or numbers. SUMaggregates values across a range, enabling quick totals for rows or columns.ArrayFormulaenables element-wise operations over ranges for scalable calculations.
Adding Across Ranges and Non-Adjacent Ranges
When your data sits in non-adjacent columns, you can still perform additions efficiently. Google Sheets allows summing multiple, non-contiguous ranges in a single formula. This is especially useful for quarterly totals or combining multiple categories without reorganizing your data.
=SUM(A2:A10, C2:C10)=SUM(A2:A5, B2:B5, D2:D5)"Non-adjacent" ranges are supported by supplying each range as a separate argument to SUM. You can mix ranges of different sizes as long as they align in a way that makes sense for your data. If any range contains text, it will be ignored by SUM, which is helpful in mixed-content spreadsheets.
Tips: Use named ranges to simplify complex addups and to improve readability when dealing with many non-adjacent blocks.
Conditional Addition: SUMIF and SUMIFS
Conditional sums let you add numbers only when certain criteria are met. SUMIF handles a single condition, while SUMIFS supports multiple conditions. This is essential for budget tracking, sales reports, and inventory analysis where you only want to sum rows that match specific qualifiers.
=SUMIF(A:A, ">0", B:B)=SUMIFS(B:B, A:A, "Yes", C:C, ">100")In SUMIF, the syntax is SUMIF(range, criterion, [sum_range]). In SUMIFS, you specify the sum_range first, followed by alternating criterion_ranges and criteria. Use wildcards ("*" or "?") for text matching and comparison operators like ">", "<", ">=", etc., for numeric criteria. This enables powerful, rule-based aggregation without extra filtering steps.
Handling Text and Errors in Sums
Sometimes numbers are stored as text, or cells contain errors. SUM generally ignores non-numeric values, but text numbers can lead to surprises. Convert text to numbers when needed and guard formulas against errors with IFERROR. A robust approach combines VALUE() for conversion with IFERROR to provide safe fallbacks.
=VALUE("123") + VALUE("456")=IFERROR(A1 + B1, 0)If your data contains thousands of entries, consider applying VALUE at import time or using an array formula to convert entire columns, e.g.,
=ArrayFormula(VALUE(A2:A))Be mindful of locale settings for decimal separators; some regions use commas instead of periods. In those cases, TEXT or SUBSTITUTE can help normalize inputs before summing.
Array Formulas and Dynamic Ranges
Array formulas enable element-wise addition over entire columns or rows, making dynamic data models easier to maintain. They are especially powerful when paired with FILTER or IF to conditionally apply sums across growing data.
=ArrayFormula(A2:A + B2:B)=ArrayFormula(IF(LEN(A2:A), A2:A + B2:B, ))These formulas expand automatically as you add rows, provided your spreadsheet uses consistent data types. For more complex scenarios, combine ArrayFormula with conditional checks or with QUERY to create dynamic subtotal columns.
Practical Workflows and Common Pitfalls
In real workbooks, sums support dashboards, budgets, and scenario planning. A common pattern is a dedicated “Totals” column that sums related entries across multiple categories. Be careful with mixed data types; text values can break sums or produce unpredictable results. Regularly audit formulas with simple test data and use IFERROR to prevent user-visible errors.
// Simple totals in a dedicated column=SUM(A2:A10) + SUM(B2:B10) // total across two rangesIf your data updates frequently, prefer dynamic ranges with ArrayFormula or use named ranges to keep references stable. The How To Sheets team suggests documenting assumptions and adding comments to formulas so future collaborators understand the intent behind each addition.
Step-by-step: Build a Reliable Addition Sheet
- Define the data layout. Create columns for items, quantities, and prices. 2) Start with a single-row addition to verify logic: in C2, enter =A2 + B2. 3) Extend to a range with SUM for a column total: =SUM(C2:C100). 4) Add conditional sums using SUMIF: =SUMIF(A2:A100, ">0", C2:C100). 5) Add error handling: wrap your sums with IFERROR to return 0 instead of an error. 6) Validate results with a few test rows and cross-check with a manual subtotal.
# Step 3 example
C2: =A2 + B2
# Step 4 example
D2: =SUMIF(A2:A100, ">0", C2:C100)
# Step 6 example
=IFERROR(D2, 0)Following these steps helps create a resilient addition sheet that scales with your data. For ongoing maintenance, consider wrapping logic in named ranges and documenting assumptions for future editors.
Steps
Estimated time: 60-90 minutes
- 1
Define the data layout
Sketch your sheet: columns for items, quantities, and values. Ensure headers are clear and the data types are consistent (numbers, not text where sums are expected).
Tip: Use bold headers to separate sections and prevent misinterpretation of data types. - 2
Test a simple addition
In a target cell, enter a straightforward sum like =A2+B2 to verify the basic syntax works.
Tip: If you see #VALUE, check that A2 and B2 are numeric, not text. - 3
Sum a column
Use SUM to aggregate a range, such as =SUM(C2:C100), to quickly total a dataset.
Tip: Avoid including header rows in the range. - 4
Add a conditional total
Apply SUMIF to include only rows that meet a criterion, e.g., =SUMIF(A2:A100, ">0", C2:C100).
Tip: Use relational operators and quotes for criteria. - 5
Handle multiple conditions
Use SUMIFS for several criteria, e.g., =SUMIFS(B2:B100, A2:A100, "Yes", C2:C100, ">50").
Tip: SUMIFS requires sum_range first, then criteria pairs. - 6
Guard against errors
Wrap sums with IFERROR to return clean results when data is incomplete, e.g., =IFERROR(SUM(A2:A100), 0).
Tip: Avoid breaking dashboards with #N/A or #VALUE!
Prerequisites
Required
- Google account with access to Google SheetsRequired
- Basic familiarity with Google Sheets formulasRequired
- Web browser with internet accessRequired
Optional
- Optional: sample dataset in Sheets for practiceOptional
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| CopyCopy selected cells, including formulas | Ctrl+C |
| PastePaste formulas to new location | Ctrl+V |
FAQ
What is the difference between using the + operator and SUM for addition in Google Sheets?
The + operator adds individual numbers or cell values directly, which is great for row-wise additions. SUM aggregates numbers across a range, making it ideal for totals. For non-adjacent data, use multiple ranges with SUM. Both approaches can be combined in complex sheets.
You can use + for quick cell-to-cell additions, and SUM for larger ranges; mix them as needed for totals.
Can I add non-adjacent cells or ranges in Google Sheets?
Yes. You can sum non-adjacent ranges by listing each range in the SUM function, e.g., =SUM(A2:A10, C2:C10, E2:E10). Ensure the data types are compatible and the ranges align with your data model.
Absolutely; just list each range inside a single SUM call.
How do SUMIF and SUMIFS differ, and when should I use them?
SUMIF handles a single condition, while SUMIFS supports multiple criteria. Use SUMIF for simple filters (e.g., summing sales over 0) and SUMIFS for multi-criteria sums (e.g., sales over a threshold for a specific region).
Use SUMIF for one condition, SUMIFS for several conditions.
Why do I get #VALUE! when summing cells, and how can I fix it?
#VALUE! often means non-numeric data was included in a sum. Convert text numbers with VALUE() or remove non-numeric entries. You can also wrap the sum in IFERROR to show a clean 0 or a placeholder.
Non-numbers in your sum cause #VALUE!; convert or ignore them.
How can I convert a column of text numbers to actual numbers?
Use VALUE to convert individual numbers, or wrap the conversion in ArrayFormula for entire columns: =ArrayFormula(VALUE(A2:A)). This ensures all values are numeric before summing.
Turn text numbers into real numbers with VALUE or ArrayFormula(VALUE(...)).
Is there a way to auto-fill formulas down a column without dragging?
Yes. Use the fill handle, or apply an ArrayFormula to extend formulas automatically, e.g., =ArrayFormula(A2:A + B2:B). This keeps formulas synchronized as you add rows.
Use ArrayFormula to automatically fill across the column instead of dragging.
The Essentials
- Use + for simple adds
- SUM handles ranges efficiently
- SUMIF/SUMIFS enable conditional sums
- Handle text-numbers with VALUE/IFERROR