Converts a binary number to hexadecimal.
Syntax
binary_number: The number you want to convert into hexadecimal. It can have a maximum of 10 digits (10 bits), with no digits other than 0 and 1. Eg., 1111
Remarks
When the result value not does have the specified num_of_digits, zeroes are added to the left of the result value.
Examples
|
Formula |
Result |
|
=BIN2HEX(A2) |
FFFFFFFEB3 |
|
=BIN2HEX(A3,5) |
0002A |
|
=BIN2HEX(1111) |
F |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
|
#NUM! |
|
Similar Functions