0Pricing
Excel Formulas Academy · Lesson

Mixing Ranges and Single Cells in SUM

Combine separate ranges and individual cells inside a single SUM call.

Mixing Ranges and Single Cells in SUM is a free Excel Formulas Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Excel Formulas Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Beyond a Single Range

So far you have given SUM one tidy range like A1:A10. But real spreadsheets are rarely that neat. Numbers you want to add are often scattered across the sheet.

The good news: SUM accepts multiple arguments. You can list several ranges and single cells in one formula, separated by commas.

In this lesson you will combine ranges and individual cells inside a single SUM call.

Multiple Arguments With Commas

The full shape of SUM allows many arguments:

=SUM(arg1, arg2, arg3, ...)

Each argument can be a range or a single cell. SUM adds all of them together into one total.

The comma is the key. It separates one argument from the next, telling SUM to keep adding everything you list.

=SUM(A1:A5, C1:C5)

Adding Two Ranges

Suppose January sales sit in A2:A5 and February sales sit in C2:C5. To total both months at once:

=SUM(A2:A5, C2:C5)

SUM adds every number in the first range, then every number in the second, and returns the grand total.

The two ranges do not need to touch or be the same size. SUM handles them independently.

=SUM(A2:A5, C2:C5)

Adding a Range Plus a Single Cell

You can mix a range with a lone cell. Imagine daily sales in B2:B6 and a one-off bonus in cell B10:

=SUM(B2:B6, B10)

SUM totals the five daily figures and then adds the single bonus value.

This is perfect when one extra number lives apart from your main list but still belongs in the total.

=SUM(B2:B6, B10)

A Worked Example

Quarter sales sit in three separate blocks: Q1 in A2:A4 (100, 150, 200), Q2 in C2:C4 (120, 130, 140), and a special adjustment of 50 in cell E2.

The formula =SUM(A2:A4, C2:C4, E2) returns 890: 450 from Q1, plus 390 from Q2, plus the 50 adjustment.

One formula pulls together three different locations into a single clean total.

=SUM(A2:A4, C2:C4, E2)

Listing Several Single Cells

If your numbers are truly scattered, you can list individual cells one by one:

=SUM(A1, C3, F7, B12)

SUM adds just those four cells. This is like writing =A1+C3+F7+B12, but it reads more clearly and is easier to extend.

If one of those cells is blank or holds text, SUM simply treats it as nothing.

=SUM(A1, C3, F7, B12)

Mixing It All Together

You are free to combine any mix of ranges and single cells in one formula:

=SUM(A1:A10, C5, D2:D8, F1)

SUM works through each argument in order and adds them all. There is no limit that matters for everyday work, so list as many pieces as you need.

This flexibility is what makes SUM the workhorse of spreadsheet math.

=SUM(A1:A10, C5, D2:D8, F1)

Watch the Separator

In most spreadsheets the argument separator is a comma. However, some regional settings (common in parts of Europe) use a semicolon instead:

=SUM(A2:A5; C2:C5)

If a comma gives an error, try a semicolon. The function is the same; only the punctuation between arguments changes based on your system's locale.

=SUM(A2:A5, C2:C5)

Adding Up Subtotals

A common pattern is to total several subtotal cells. Say each department already has its own SUM in cells B5, D5, and F5. To get the company total:

=SUM(B5, D5, F5)

You are summing the subtotals rather than re-adding every raw number. This keeps a big sheet organized: small totals feed into a grand total.

=SUM(B5, D5, F5)

Avoid Double-Counting

One trap with multiple arguments: do not let your ranges overlap. If you write =SUM(A1:A10, A5:A15), the cells A5 through A10 are added twice, inflating the total.

Likewise, do not include a subtotal cell that already sums the same numbers you are listing.

Before pressing Enter, make sure each value is counted exactly once.

=SUM(A1:A4, A5:A10)

Same in Excel and Sheets

Multi-argument SUM works the same in Microsoft Excel and Google Sheets. You can list ranges and cells with commas in both.

The only difference you might notice is the comma-versus-semicolon separator, which depends on your regional settings, not the program.

Master this and you can total almost any layout of numbers with a single formula.

=SUM(A2:A4, C2:C4, E2)

Quick Check

Test your understanding of mixing ranges and cells in SUM.

Recap: Mixing in SUM

You learned to total scattered numbers in one formula:

  • SUM accepts multiple arguments: =SUM(arg1, arg2, ...).
  • Each argument can be a range or a single cell.
  • Combine them freely, like =SUM(A2:A4, C2:C4, E2).
  • Avoid overlapping ranges so nothing is counted twice.

Next, you will discover AutoSum, a shortcut that writes these totals for you.

=SUM(A2:A4, C2:C4, E2)

Frequently asked questions

Is the “Mixing Ranges and Single Cells in SUM” lesson free?

Yes — the full text of “Mixing Ranges and Single Cells in SUM” is free to read here on the web, and the Excel Formulas Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Excel Formulas Academy course, upgrade to CoddyKit PRO.

What will I learn in “Mixing Ranges and Single Cells in SUM”?

Combine separate ranges and individual cells inside a single SUM call. You practise Excel Formulas Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Excel Formulas Academy?

No prior experience is required. Excel Formulas Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Mixing Ranges and Single Cells in SUM” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Excel Formulas Academy lesson?

Yes. Every Excel Formulas Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Totaling Numbers With SUM
  2. Finding the Mean With AVERAGE
  3. Mixing Ranges and Single Cells in SUM
  4. AutoSum and Quick Calculations
← Back to Excel Formulas Academy