Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
BITOR(number1, number2)The BITOR function compares the binary representations of two integers and returns a result where each bit is 1 if either of the corresponding bits in the input numbers is 1. If both bits are 0, the result bit is 0.
=BITOR(5, 3)Kết quả: 7
5 (binary 101) OR 3 (binary 011) equals 7 (binary 111).
Excel will truncate the numbers to integers before performing the calculation.