How to Sum Noncontiguous Cells in Excel Using Ctrl
Question details
The user wants to calculate the total sum of individually selected, non-adjacent cells using the Ctrl-click method.

- 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.
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.
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.
Click on the empty cell where you want the final calculated total to appear.
Type =SUM( into the cell or the formula bar to start the addition function.
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).
Release the Ctrl key. Type a closing parenthesis ) and press the Enter key to calculate your total.

Manually Type the Cell References
If you know the exact cell addresses or prefer working entirely from the keyboard without a mouse, you can manually type the formula.
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. Open your file: Launch WPS Spreadsheet and open your workbook containing the data.
- 2. Start the SUM function: Click the cell where you want the total to appear and type =SUM(.
- 3. Select scattered cells: Hold down the Ctrl key and click on each non-adjacent target cell you wish to add.
- 4. Get the result: Release the Ctrl key, type a closing parenthesis, and press Enter to instantly view the calculated sum.

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.




