이 함수는 Google Sheets에서도 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.