COUNTIF function - Microsoft Support
COUNTIF function. Use COUNTIF, one of the statistical functions, to count the number of cells that meet a criterion; for example, to count the number of times a particular city appears in a customer list. In its simplest form, COUNTIF says:
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 中将 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