Skip to main content

HEX2DEC

Converts a hexadecimal number to decimal.

Syntax

=HEX2DEC(Number)

Arguments

NameDescription
NumberThe hexadecimal number to convert.

Return Value

The decimal number or a #NUM! error if given number is not a valid hexadecimal number.

Example

FunctionResultComment
=HEX2DEC("A5")165converts hexadecimal A5 to decimal