Converts the specified hexadecimal number to its binary equivalent.
Syntax Copy Code |
---|
HEX2BIN( NumberOrText x, [Number digits] ) → Text |
If x is not a valid hexadecimal number, the function returns the #VALUE! error value.
If digits is omitted, the function uses the minimum number of characters necessary. If digits is specified and is less than the number of characters required to represent the result, the function returns the #NUM! error value. If digits is negative or greater than 10, the return value is #NUM!. If digits is not an integer number, it is truncated.
Formula Copy Code |
---|
=HEX2BIN(11,8) |
Function Reference
BIN2HEX Function
DEC2HEX Function
OCT2HEX Function