1. Home
  2. Functions
  3. Engineering
  4. BITXOR

BITXOR function

Returns the bitwise exclusive OR of two numbers.

Syntax

=BITXOR(number1, number2)

Arguments

ArgumentRequiredDescription
number1RequiredA whole number from 0 up to 2^48
number2RequiredA whole number from 0 up to 2^48

How to use BITXOR

BITXOR takes 2 required arguments. Type =BITXOR( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=BITXOR(5, 3)Result 6

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.