HEX2OCT Function in Excel converts Hexadecimal number to Octal number.
Syntax of HEX2OCT Function in Excel (HEXADECIMAL TO OCTAL FUNCTION IN EXCEL):
- number – The Hexadecimal number that is to be converted to Octal.
- [places] – An optional argument that specifies how many digits needs to be returned.
Example of HEX2OCT Function in Excel (HEXADECIMAL TO OCTAL FUNCTION IN EXCEL):
- In row number 2, HEX2OCT Function takes up [places] argument as 8 which returns the 8 digits with 4 preceding Zeros i.e. 00005454.
Note: #NUM! – Error occurs
- If the supplied number contains more than 10 character.
- If the resulting octal number exceeds more than 10 digits.
- If the supplied [places] argument is less than 0 and greater than 10.