AND function in Excel |
| Using AND function in Excel you can do complicated calculations utilizing up to 30 criteria. Syntax AND(logical1,logical2, ...) Logical1, logical2, ... are 1 to 30 conditions you want to test that can be either TRUE or FALSE. Remarks The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays or references that contain logical values. If an array or reference argument contains text or empty cells, those values are ignored. If the specified Excel range contains no logical values, AND returns the #VALUE! error value. Example: Our Excel training video combines 'and' with 'if' =IF(AND(A2="Senior Consultant",B2>=200000),B2*3%,IF(AND(A2="Junior Consultant",B2>=200000),B2*2%,"Designation Unknown")) You could also define instead of 'Designation Unknown' a value 'B2*1%'. Note: We have used AND function with the IF function but you can also use AND as a standalone function. |