BIN2OCT Function
Convert a binary number to an octal number. number has at most 10 binary digits, and 10 digits starting with 1 are a negative number in two's complement, which returns 10 octal characters (7777777777 for -1). places pads a positive result with leading zeros to that many characters. A places of 0 or less, or an invalid binary number, returns #NUM!.
Syntax
BIN2OCT(number, places)
Category: Engineering. Minimum arguments: 1. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=BIN2OCT(10)
The formula returns 2.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.