BITOR Function in Excel: Bitwise OR

⏱ 1 min readUpdated 28 September 2026

EngineeringLevel: ExpertAvailable in: Excel 2013+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

BITOR combines flag numbers: a bit is on if it is on in either input.

Syntax

=BITOR(number1, number2)
Argument What it means
number1, number2 Non-negative whole numbers.

Examples

Example 1

=BITOR(B2, 4)

Switch on the “blocked” flag (4) in a status code.

BITAND · BITXOR

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong