In Excel: use =SUM(range), for example =SUM(A1:A10), or =SUMIF(range, criteria, sum_range) to add only the rows that match a condition.
n = 7 · Sum = 103.00 · Min = 9.00 · Max = 21.00
7 values
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
SUM adds every number in the range you give it, ignoring blanks and text so you do not have to clean the column first. It is the most-used function in any spreadsheet because totals are everywhere. When you only want some of the values, SUMIF (one condition) and SUMIFS (several) add just the rows that meet your criteria. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “do a sum formula in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected formula shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
To total a column of sales in A1:A10, type =SUM(A1:A10). To total only the "North" region, =SUMIF(B1:B10,"North",A1:A10) adds the A-values whose B-cell says North. The AutoSum button (Alt+= on Windows) writes the SUM for you and guesses the range — handy, but always check the highlighted range is right. Every dashboard, invoice and budget ends in a total, which is why SUM — and its conditional cousins SUMIF and SUMIFS — is the first function worth mastering. Get it right and the rest of the sheet builds on solid ground. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. Here is the takeaway for “do a sum formula in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Letting AutoSum guess a range that misses the top or bottom row — always check the outline.
- Summing a column that includes its own total cell, creating a circular reference.
- Expecting
SUMto add text numbers — values stored as text are skipped silently. - Using
SUMIFwhen you need several conditions; reach forSUMIFSinstead.
Frequently asked questions
SUM vs AutoSum?
AutoSum is just a button that writes a SUM formula for the range it guesses. The formula is identical; AutoSum only saves typing.
How do I sum with a condition?
Use SUMIF for one condition (=SUMIF(range, ">100")) or SUMIFS for several criteria across different columns.
Why does SUM ignore some cells?
SUM only adds numbers; cells holding text, including numbers stored as text, are skipped. Convert them with VALUE or by multiplying by 1.