Converts a given hexadecimal number to octal.
Syntax
hexadecimal_number: The hexadecimal number you want to convert into octal. It must contain a maximum of 10 characters, between 0-9 and A-F. Eg., "FF"
num_of_digits: The number of digits to return. Eg., 12
Remarks
When the result value not does have the specified num_of_digits , zeroes are added to the left of the result value.
It is case-insensitive i.e., "A" and "a" are considered the same.
Examples
|
Formula |
Result |
|
=HEX2OCT("FF";12) |
000000000377 |
|
=HEX2OCT(A3) |
50525335 |
|
=HEX2OCT(A4) |
222204 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
|
#NUM! |
|
Similar Functions