BIN2HEX Function

The BIN2HEX function is one of the engineering functions. It is used to convert a binary number into a hexadecimal number.

Syntax

BIN2HEX(number, [places])

The BIN2HEX function has the following arguments:

Argument Description
number A binary number entered manually or included into the cell you make reference to.
places The number of digits to display. If omitted, the function will use the minimum number.

Notes

If the argument is not recognised as a binary number, or contains more than 10 characters, or the resulting hexadecimal number requires more digits than you specified, or the specified places number is less than or equal to 0, the function will return the #NUM! error.

How to apply the BIN2HEX function.

Examples

The figure below displays the result returned by the BIN2HEX function.

BIN2HEX Function