How to use the XOR function
The XOR function was introduced in Excel 2013 and calculates the logical exclusive OR meaning if at least one of the arguments evaluates to TRUE then the XOR returns TRUE. All arguments must be evaluated to FALSE for the XOR function to return FALSE.
Formula in cell D3:
Excel Function Syntax
XOR(logical1, [logical2],…)
Arguments
logical1 | Required. A condition that evaluates to either TRUE or FALSE or their numerical equivalents 1 or 0 (zero). An argument may also be a reference or array. |
[logical2] | Optional. Up to 253 additional conditions. |
Comments
The XOR function returns #VALUE! error value if no logical values can be found in the arguments.
The XOR function ignores empty and text values, 0 (zero) is evaluated to FALSE and any other value is evaluated to TRUE.
Functions in 'Logical'
The XOR function function is one of many functions in the 'Logical' category.
The image above demonstrates the AND function with two logical expressions. If the value in column B is equal to […]
The FALSE function returns the logical (boolean) value FALSE. Excel Function Syntax FALSE() Arguments The FALSE function has no arguments. […]
Checks if a logical expression is met. Returns a specific value if TRUE and another specific value if FALSE.
How to use the IFERROR function
The IFERROR function lets you catch most errors in Excel formulas. It was introduced in Excel 2007. In previous Excel […]
The IFNA function handles #N/A errors only, it returns a specific value if the formula returns a #N/A error. Formula […]
The IFS function checks whether one or more conditions are met and returns a value that corresponds to the first […]
The NOT function returns the boolean opposite to the given argument. TRUE returns FALSE and FALSE returns TRUE. Formula in […]
The OR function allows you to carry out a logical test in each argument and if at least one argument returns […]
How to use the SWITCH function
The SWITCH function returns a given value determined by an expression and a list of values. If the expression matches […]
Returns the logical (boolean) value TRUE. Excel Function Syntax TRUE() Arguments The TRUE function has no arguments. Comments Excel interprets […]
The XOR function was introduced in Excel 2013 and calculates the logical exclusive OR meaning if at least one of the […]
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
Contact Oscar
You can contact me through this contact form