BITXOR

Bitwise XOR (exclusive OR) of 2 numbers. Learn more.

Video field
Engineering

BITXOR is a function in Google Sheets that performs a bitwise XOR operation on two decimal numbers and returns the result.

The "value1" and "value2" arguments should be references to cells containing decimal numbers, or valid decimal numbers enclosed in double quotes (""). The function will convert the decimal numbers to 32-bit binary numbers and perform a bitwise XOR operation on them.

The function returns a decimal number that represents the result of the bitwise XOR operation.

For example, if the cell A1 contains the decimal number 9 (which is 1001 in binary) and the cell B1 contains the decimal number 6 (which is 0110 in binary), the formula =BITXOR(A1,B1) will return the value 15.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!