The function makes judgments on multiple logical conditions. Only when all the logical conditions are met will the function return TRUE. Otherwise, it will return FALSE.
Syntax
AND(Logical1,Logical2,...)
If all the parameter values are true, the function returns 1. If any parameter value is false, the function returns 0.
Parameter 1
Logical1,Logical2,...
Parameter
The parameter must be of the boolean type or numerical type.
For true(TRUE) and false(FALSE) in the parameter, both capital and lowercase are supported and marked in blue.
Sample data:Regional Data Analysis.xlsx
1. For example, you can quickly filter the data with Contract Amount larger than 3000 and Purchase Quantity larger than 10.
Use the Filter function for Payback Amount and Contract Amount. Click Filter and click Add Formula (AND). Click Please Edit Formula, enter AND(Contract Amount > 500000, Payback Amount > 100000) in the pop-up box, and finally click OK.The data that meets the condition is filtered, as shown in the following figure.
After the filter is completed, a total of 187 records of data that meet the conditions are displayed, as shown in the following figure.
2. The following table describes more examples.
Formula
Result
Note
AND(1+7=8,5+7=12)
1
–
AND(1+7=8,5+7=11)
0
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy