OCT2HEX function
Conversion — an octal 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 octal values in hexadecimal.
A worked example from the workbook
| Row | A |
|---|---|
| 6 | Input |
| 7 | 10 |
| 8 | 11 |
| 9 | 0 |
Record 1
=OCT2HEX(A7)Expected result8
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=OCT2HEX("12")Turkish Excel · tr-TR
=OCT2HEX("12")Expected result
“A”
Worked examples
Display octal values 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 | 10 |
| 8 | 11 |
| 9 | 0 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =OCT2HEX(A7) |
8 |
| Record 2 | =OCT2HEX(A8) |
9 |
| Record 3 | =OCT2HEX(A9) |
0 |