Syntax
=BITAND(number1, number2)Arguments
| Argument | Required | Description |
|---|---|---|
number1 | Required | A whole number from 0 up to 2^48 |
number2 | Required | A whole number from 0 up to 2^48 |
How to use BITAND
BITAND takes 2 required arguments. Type =BITAND( 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.
=BITAND(1, 5)Result =BITAND(13, 25)Result Related engineering functions
- BESSELYReturns the Bessel function Yn(x), also called the Weber or Neumann function.
- BIN2DECConverts a binary number to decimal.
- BIN2HEXConverts a binary number to hexadecimal.
- BIN2OCTConverts a binary number to octal.
- BITLSHIFTReturns a number shifted left by a number of bits (multiplied by a power of 2).
- BITORReturns the bitwise OR of two numbers.
- BITRSHIFTReturns a number shifted right by a number of bits (divided by a power of 2, rounded down).
- BITXORReturns the bitwise exclusive OR of two numbers.
- COMPLEXBuilds a complex number as text from its real and imaginary parts.