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

BITOR function

Returns the bitwise OR of two numbers.

Syntax

=BITOR(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 BITOR

BITOR takes 2 required arguments. Type =BITOR( 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.

=BITOR(23, 10)Result 31

Every formula, right in your browser

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