BIN2HEX function
Conversion — a binary number to hexadecimal.
Engineering
Where can you use it?
Engineering and technical analysis teams. If the calculation needs a number base, unit, complex number or special mathematical operation, check the input format against the example.
Scenario in the workbook
Display binary registers in hexadecimal.
A worked example from the workbook
| Row | A |
|---|---|
| 6 | Input |
| 7 | 1000 |
| 8 | 1001 |
| 9 | 0 |
Record 1
=BIN2HEX(A7)Expected result8
See the inputs and instructions for all 3 examplesSyntax
BIN2HEX(number, [places])
Copyable formulas
English Excel · en-US
=BIN2HEX("1010")Turkish Excel · tr-TR
=BIN2HEX("1010")Expected result
“A”
Worked examples
Display binary registers in hexadecimal.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A |
|---|---|
| 6 | Input |
| 7 | 1000 |
| 8 | 1001 |
| 9 | 0 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =BIN2HEX(A7) |
8 |
| Record 2 | =BIN2HEX(A8) |
9 |
| Record 3 | =BIN2HEX(A9) |
0 |