EXCEL OCT2BIN FUNCTION

The Oct2Bin function in Microsoft Excel transforms an Octal (Base 8) number to a Binary (Base 2) value.

Syntax :

=OCT2BIN( number[places] )

Parameters :

  • Number – The octal value to be translated to binary.
  • Paces – An optional input specifying the amount of characters to be included in the returned binary number. If this value is more than zero, the binary integer will be padded with leading zeros. If omitted, the returned binary utilises the fewest possible locations.

Step By Step Guide of OCT2BIN Function

Example :

The negative octal and binary values in cell A4 of the above example spreadsheet are represented using two’s complement notation.

  • #NUM! – Occurs if the given number argument is not recognised as an octal number or contains more than 10 characters. The generated binary number requires more places than the given [places] argument; the supplied [places] argument is 0 or greater than 10.
  • #VALUE! – Occurs if the supplied [places] argument is non-numeric.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now