Excel求和函数入门:SUM帮你1秒算完一列数

现象:为什么一算总和自己头大

刚工作的小白最怕什么?不是写方案,是算总数。发工资要算、做考勤要算、清库存要算、统计业绩还要算。

大多数人是怎么算的?打开计算器,一行一行加,加错一个全得重来;或者干脆用鼠标一个个点"=C2+C3+C4…",几百行数据点到手抽筋,眼睛都花了,还特别容易算错。

其实这些事,Excel 一个 SUM 函数就能搞定,1 秒算完一列数,还绝对不出错。

原因:你在用"手动加法",而函数是"自动计算"

小白算总数慢,根本原因是把 Excel 当成了记事本——所有计算都靠手动输入公式一个个加,而不是让 Excel 自己算。

Excel 内置了上百个函数,SUM 是最基础也最常用的一个,作用就是把选中的数字全部加起来。你只要告诉它"把这块区域的数加起来",剩下的事它全包了,数据一变它自动更新,永不出错。

解决:3 步用 SUM 求和

先记住一个口诀:= SUM ( 选区域 ) 回车。

第一步:选中要显示结果的空白格

在你想显示"总数"的那个格子上点一下。比如 A1 到 A10 是数据,你就在 A11 点一下。

第二步:输入公式

  • 先输入等号 =(必须是英文输入法下的)
  • 再输入 SUM
  • 打一个英文括号 (

写出来是这样:=SUM(

第三步:框选数据区域并回车

鼠标从 A1 拖到 A10,把要加的数字全框进去,然后按回车键。

公式会变成:

=SUM(A1:A10)

回车那一瞬间,总数就自动算出来了。

下面这张示意图帮你把步骤记牢:

<svg viewBox="0 0 480 320" width="100%" style="max-width:480px;background:#f8fafc;border-radius:10px" xmlns="http://www.w3.org/2000/svg">
<rect x="20" y="20" width="120" height="280" fill="#eef2ff" stroke="#4f46e5" stroke-width="2" rx="6"/>
<text x="80" y="52" text-anchor="middle" font-size="14" fill="#4f46e5" font-weight="bold">数据列 A</text>
<text x="80" y="92" text-anchor="middle" font-size="13" fill="#334155">A1 12</text>
<text x="80" y="122" text-anchor="middle" font-size="13" fill="#334155">A2 8</text>
<text x="80" y="152" text-anchor="middle" font-size="13" fill="#334155">A3 15</text>
<text x="80" y="182" text-anchor="middle" font-size="13" fill="#334155">A4 20</text>
<text x="80" y="212" text-anchor="middle" font-size="13" fill="#334155">A5 9</text>
<text x="80" y="242" text-anchor="middle" font-size="13" fill="#334155">A6 6</text>
<rect x="150" y="30" width="150" height="40" fill="#dcfce7" stroke="#16a34a" stroke-width="2" rx="6"/>
<text x="225" y="53" text-anchor="middle" font-size="13" fill="#166534" font-weight="bold">=SUM( 框选区域 )</text>
<rect x="150" y="90" width="150" height="34" fill="#dcfce7" stroke="#16a34a" stroke-width="1.5" rx="6"/>
<text x="225" y="112" text-anchor="middle" font-size="13" fill="#166534">=SUM(A1:A6)</text>
<rect x="340" y="20" width="120" height="280" fill="#fff7ed" stroke="#ea580c" stroke-width="2" rx="6"/>
<text x="400" y="52" text-anchor="middle" font-size="14" fill="#ea580c" font-weight="bold">结果</text>
<rect x="345" y="200" width="110" height="60" fill="#fef3c7" stroke="#d97706" stroke-width="2" rx="6"/>
<text x="400" y="225" text-anchor="middle" font-size="12" fill="#92400e">A7 结果格</text>
<text x="400" y="248" text-anchor="middle" font-size="16" fill="#d97706" font-weight="bold">=70</text>
<path d="M 300 50 Q 330 50 340 60" stroke="#16a34a" stroke-width="2" fill="none"/>
<text x="320" y="40" text-anchor="middle" font-size="12" fill="#16a34a">框选</text>
<path d="M 300 110 Q 330 110 340 140" stroke="#ea580c" stroke-width="2" fill="none"/>
<text x="322" y="135" text-anchor="middle" font-size="12" fill="#ea580c">回车</text>
</svg>

改善:避免求和出错的 3 个坑

学会了 SUM,再记住这几个坑,你就是办公室的求和小能手:

  1. 中间别留空行:选区域时如果中间有空行,SUM 会把空行当 0,可能漏掉下面的数。数据尽量排紧凑。
  2. 格式要是数字:如果格子显示为文本(左上角有绿色小三角),SUM 会忽略它。先把格式改成"数字"再求和。
  3. 养成用函数习惯:以后凡是"求总计"都用 SUM,别再用计算器手动加。数据一改,SUM 结果自动跟着变,永远不用重算。

小技巧:其实还有个更快的办法——选中整列数据后,按 Alt + =(Alt 键加等号),Excel 会自动填好 SUM 公式帮你算完。

小结

  • SUM 是 =SUM(区域) 加回车,1 秒算完一列数
  • 手动加法易错又慢,函数自动计算不会出错
  • 记住"别留空行、格式要是数字、养成用函数习惯"三个坑

学会了 SUM,Excel 入门的第一步就走稳了。下一篇教你更实用的隔行求和,报表里的小计全靠它。