Skip to content

How to Use Excel BITOR Function?

BITOR FunctionPin
BITOR Function

BITOR Function in Excel: Microsoft Excel is a powerful data visualization and analysis program used all around the world. It uses spreadsheets to store, organize, or perform operations with formulas and functions. This application is developed for WindowsMacAndroid, and iOS.

In this article, we will explore the usage of the BITOR Function in Excel with basic syntax and examples. This function is used to perform a bitwise OR operation on each bit in the binary value. Get the official version of MS Excel from the following link:

Excel BITOR FunctionPin
Excel BITOR Function

Description of BITOR Function

  • It is one of the built-in functions in Microsoft Excel.
  • This function finds the Bitwise OR of two numbers and returns the output as a decimal number.
  • It will perform logical OR operations on each bit in the binary value. So it is not like a normal OR operator.


  • Here, you will see the syntax of the BITOR function.
  • To apply this function on your spreadsheet, you must select a cell and enter the formula in the following format.
  • Once you enter the formula, click the Enter button to get the result.

=BITOR(number1, number2)

Parameter Description:

Number 1 and Number 2 – These parameters should be given in the decimal form greater than or equal to 0.

1) If any argument you have given is less than 0, it will return #NUM! Error value.
2) If you provide any arguments as non-numeric values (Letters and Special characters), it will return #VALUE! Error.


Let’s see some examples of the BITOR function and know how it works.

  • Initially, you have to open your Excel workbook on your PC and launch the worksheet with data.
  • For instance, we have given the input values in the range B3:C6. And we will get the bitwise OR of these numbers using the BITOR function.
Input RangePin
Input Range
  • Then, you have to enter the formula in the cell as shown below to get the result.
Enter the formulaPin
Enter the formula
  • After entering the formula, you need to click the Enter button to get the output.
  • Once you get the output for the first cell, then you need to drag down that cell to fill the remaining cells, as shown in the below screenshot.
Drag down the cellPin
Drag down the cell

Input that Causes Error

  • If any argument you have given is less than 0, it will return #NUM! Error value.
NUM ErrorPin
NUM Error
  • If you give any of the arguments a non-numeric value, it will return #VALUE! Error.
VALUE ErrorPin


In the above article, you can clearly understand how to use BITOR Function in Excel with syntax, description, and clear-cut examples. Drop your queries/suggestions in the comments section. To learn more about Excel functions, then visit our webpage

Video Tutorial

The following video will show you how to apply the BITOR function in the Excel worksheet.

Read Also:


Leave a Reply

Your email address will not be published. Required fields are marked *

Share to...