OCT2BIN function

Category: Engineering
Introduced: Excel 2003

Summary

Converts an octal number to binary

Syntax

OCT2BIN(number, [places]) The OCT2BIN function syntax has the following arguments:
• Number Required. The octal number you want to convert. Number may not contain more than 10 characters. The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
• Places Optional. The number of characters to use. If places is omitted, OCT2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).

Example

=OCT2BIN(3, 3)
=OCT2BIN(7777777000)

Microsoft Support Page

https://support.microsoft.com/en-us/office/oct2bin-function-55383471-3c56-4d27-9522-1a8ec646c589

Back to Functions