この関数は Google スプレッドシートでも Excel と同じように機能します。構文も引数も同じです。
BIN2OCT(number, [places])The BIN2OCT function converts a binary string into its octal equivalent. If the number is negative, it is represented in two's-complement notation.
=BIN2OCT("1100100")結果: 144
Converts the binary 1100100 to the octal value 144.
=BIN2OCT("101", 4)結果: 0005
Converts binary 101 to octal 5, padded to 4 characters.
The number argument cannot contain more than 10 characters (10 bits).
This usually happens if the binary number is invalid or exceeds the 10-bit limit.