Numbers Exercises

BITXOR in Apple Numbers

Last updated:

Short answer: BITXOR gives a 1 where exactly one of the two bits is 1. Syntax: BITXOR(number, number)

Explanation

BITXOR gives a 1 where exactly one of the two bits is 1. 12 (1100) and 10 (1010) give 0110, so 6.

Syntax

BITXOR(number, number)

Example

Calculate the bitwise exclusive OR (XOR) of 12 and 10.

Formula: =BITXOR(12,10)
Result: 6

Frequently asked questions

What does BITXOR do in Apple Numbers?

BITXOR gives a 1 where exactly one of the two bits is 1. 12 (1100) and 10 (1010) give 0110, so 6.

What is the syntax of BITXOR?

The syntax is BITXOR(number, number).

More in this category

Practise it yourself

Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.

Start practising