この関数は Google スプレッドシートでも Excel と同じように機能します。構文も引数も同じです。
OCT2BIN(number, [places])The OCT2BIN function converts an octal number into its binary representation. If the optional places argument is provided, the function will pad the result with leading zeros to match the specified length.
=OCT2BIN(12)結果: 1010
Converts the octal number 12 to the binary 1010.
=OCT2BIN(5, 4)結果: 0101
Converts 5 to binary and pads it to 4 digits.
The octal number cannot exceed 10 characters in length.
The function returns a #NUM! error.