TX Sheet Control

HEX2BIN Function

Function

Convert a hexadecimal number to binary. number is the hexadecimal number of up to 10 characters, in which a value from FFFFFFFE00 to FFFFFFFFFF is negative in two's complement; the valid range is FFFFFFFE00 to 1FF. places pads the result with leading zeros. A number out of range, an invalid hexadecimal number or too few places returns #NUM!.

Syntax

HEX2BIN(number, places)

Category: Engineering. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=HEX2BIN(10)

The formula returns the text 10000, the binary form of 16.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also