BITAND
Supported, behaves as documentedCategory: Engineering · Last tested 2026-08-06
Real, executed compatibility results for the BITAND function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | No | Yes (25.8.7.3, 2026-08-06) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 25.8.7.3 (tested 2026-08-06)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =BITAND(6,3) | Bitwise AND of 110 and 011 keeps only shared bits: 010 = 2 | 2 | 2 | Matched |
| =BITAND(12,10) | 1100 AND 1010 = 1000 = 8 | 8 | 8 | Matched |
| =BITAND(5,0) | ANDing with zero clears every bit | 0 | 0 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation