Function Problems

How to Sum Noncontiguous Cells in Excel Using Ctrl

Nimra MalikNimra Malik Nov 11, 2026 869 views

Question details

The user wants to calculate the total sum of individually selected, non-adjacent cells using the Ctrl-click method.

How to Sum Noncontiguous Cells in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Calculating a total from scattered data points across a spreadsheet without including the irrelevant cells in between.
Observed behavior
The user needs the correct formula syntax and selection technique to successfully add up specific scattered cells.
Before you start

Ensure that the scattered cells you plan to add contain numerical values, as text or blank cells might cause calculation errors or be ignored by the SUM function.

Solution 1Recommended

Use the SUM Function with Ctrl-Click

The most efficient way to add non-adjacent cells is by using the SUM function combined with the Ctrl key to quickly select multiple scattered cells.

By holding down the Ctrl key, you tell Excel to treat each click as a separate selection. When done inside a formula, it automatically inserts the necessary list separators between your cell references.

1
Select the destination cell

Click on the empty cell where you want the final calculated total to appear.

2
Initiate the formula

Type =SUM( into the cell or the formula bar to start the addition function.

3
Select cells using Ctrl

Press and hold the Ctrl key on your keyboard. While holding Ctrl, click on each individual cell you want to include in the sum (e.g., B2, D5, F8).

4
Complete the formula

Release the Ctrl key. Type a closing parenthesis ) and press the Enter key to calculate your total.

Use the SUM Function with Ctrl-Click
Regional Settings Impact: Depending on your computer's regional settings, Excel might automatically use a semicolon (;) instead of a comma (,) to separate the cell references.
Free Spreadsheet Software

Sum Noncontiguous Cells Effortlessly in WPS Spreadsheet

WPS Spreadsheet offers a seamless environment to handle complex formulas and non-adjacent data calculations just like Microsoft Excel, but completely free. You can use the exact same Ctrl-click selection method for your functions.

  1. 1. Open your file: Launch WPS Spreadsheet and open your workbook containing the data.
  2. 2. Start the SUM function: Click the cell where you want the total to appear and type =SUM(.
  3. 3. Select scattered cells: Hold down the Ctrl key and click on each non-adjacent target cell you wish to add.
  4. 4. Get the result: Release the Ctrl key, type a closing parenthesis, and press Enter to instantly view the calculated sum.
Fully compatible with Microsoft Excel (.xlsx, .xls) files and SUM formulas.Identical Ctrl-click cell selection experience for functions like SUM, AVERAGE, and COUNT.Lightweight software that runs smoothly without lagging on Windows, Mac, and Linux.Completely free alternative with an intuitive tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my SUM function returning an error when I select non-adjacent cells?

This usually happens if your computer's regional settings require a semicolon (;) instead of a comma (,) as a separator, or if you accidentally typed a typo. Ensure the list separators match your system settings.

Can I sum both a range of cells and noncontiguous cells in the same formula?

Yes, you can mix continuous ranges and individual cells within the same formula. For example, entering =SUM(A1:A5, C3, E7) will calculate the sum of the range A1 through A5 alongside the individual cells C3 and E7.

Is there a limit to how many noncontiguous cells I can select in one SUM formula?

In modern versions of spreadsheet software, you can include up to 255 individual arguments (which can be single cell references or cell ranges) within a single SUM function.

What if I accidentally select the wrong cell while holding Ctrl?

If you click an incorrect cell, simply backspace in the formula bar to delete that specific cell reference and its comma, or press the Escape key to cancel the formula and start over.