BITXOR Function in Excel: Microsoft Excel is a powerful data visualization and analysis program used worldwide. It uses spreadsheets to store, organize, or perform operations with formulas and functions. This application is developed for Windows, Mac, Android, and iOS. The major purpose of the software is to do complicated calculations which are difficult to do manually.
This tutorial will guide you to learn how to use the BITXOR function in Excel with syntax, explanations, and examples. Get the official version of MS Excel from the following link:
https://www.microsoft.com/en-in/microsoft-365/excel
Jump To
Description of BITXOR Function
- It is one of the built-in functions in Microsoft Excel.
- This function performs bitwise XOR of two decimal numbers and returns the output as a decimal value.
- It will perform a logical XOR operation for each bit represented in the binary value of the given input number.
Syntax
- Here, you will see the syntax of the BITXOR 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.
=BITXOR(number1, number2)
Syntax Description:
Number 1 and Number 2 – Both the parameters should be represented in decimal form equal to or greater than 0.
Note: 1) If any parameter you have given is less than 0, it will return #NUM! Error value.
2) If you provide any of the parameter’s non-numeric values (Letters and Special characters), it will return #VALUE! Error.
3) The parameters should be less than ( 2^48)-1, and else it will return #NUM! Error.
Example
Let’s see an example to make it clear how the BITXOR function works in the spreadsheet.
- 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 XOR of given values using the BITXOR function.
- Then, you have to enter the formula in the cell as shown below to get the result.
- 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.
Input that Causes Error
- If any argument you have provided is less than 0, it will return #NUM! Error value.
- If you give any of the arguments as a non-numeric value, it will return #VALUE! Error.
A Short Synopsis
To sum up, hope this article helped you understand the BITXOR function’s usage in Excel with syntax, explanation, and examples. Leave your feedback in the comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.
Video Tutorial
The following video will show you how to apply the BITXOR function in the worksheet.
Keep Reading:
- How to Use Excel FLOOR.MATH Function?
- How to Use Excel FLOOR Function?
- How to Use Excel CEILING.PRECISE Function?
- How to Use Excel CEILING Function?
- How to Use Excel GCD Function?
Hi there, I’m Sridhar – an Excel enthusiast with over 10 years of experience working with software. I’m passionate about using Excel to solve complex problems and streamline business processes. Over the years, I have helped businesses of all sizes to improve their operations and save time and money.
Aside from working with Excel, I also enjoy writing and sharing my knowledge with others. You’ll often find me contributing to the AAW Excel blog, where I provide tips, tricks, and tutorials that are easy to understand for readers of all skill levels.