使用 SUM 函数对区域中的数字求和 - Microsoft 支持
可以使用 简单的公式对) 一组单元格 (区域中的数字求和,但在处理多个数字时 ,sum 函数 更易于使用。 例如,=sum (a2:a6) 出现键入错误的可能性小于 =a2+a3+a4+a5+a6。 下面是使用两个单元格区域的公式: =sum (a2:a4,c2:c3) 对区域 a2:a4 和 c2:c3 中的数字求和。 可按 enter 获取总计 39787。
Applies To: Excel for Microsoft 365, Excel for the web, Excel 2021, Excel 2019, Excel 2016
在 Excel 中将 IF 与 AND、OR 和 NOT 函数配合使用 - Microsoft 支持
下面是如何分别构造 AND 、 OR 和 NOT 函数的概述。. 当将它们分别与 IF 语句组合使用时,应按如下方式表达:. AND – =IF (AND (Something is True, Something else is True), Value if True, Value if False) OR – =IF (OR (Something is True, Something else is True), Value if True, Value if False)
Applies To: Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2019 for Mac, Excel 2016, Excel Web App, Excel for Windows Phone 10