# HEX2DEC

### Definition of HEX2DEC

Converts a signed hexadecimal number to decimal format.

### Sample Usage

`HEX2DEC("f3")`

`HEX2DEC(A2)`

### Syntax

`HEX2DEC(signed_hexadecimal_number)`

`signed_hexadecimal_number`

- The signed 40-bit hexadecimal value to be converted to decimal, provided as a string.The most significant bit of

`signed_hexadecimal_number`

is the sign bit; that is, negative numbers are represented in two's complement format.For this function, this value has a maximum of 7fffffffff if positive, and a minimum of 8000000000 if negative.

If

`signed_hexadecimal_number`

is provided as a valid hexadecimal number, it will automatically be converted to the appropriate string input. For example,`HEX2DEC(199)`

and`HEX2DEC("199")`

yield the same result:`409`

.

### Notes

As with any hexadecimal value, only the digits

`0-9`

and the letters`A-F`

are valid. Digits other than these will cause`HEX2DEC`

to return a`#NUM!`

error.- Hexadecimal digits are not case-sensitive;
`a-f`

and`A-F`

are equivalent.

- Hexadecimal digits are not case-sensitive;

### See Also

`OCT2HEX`

: Converts a signed octal number to signed hexadecimal format.

`OCT2DEC`

: Converts a signed octal number to decimal format.

`OCT2BIN`

: Converts a signed octal number to signed binary format.

`HEX2OCT`

: Converts a signed hexadecimal number to signed octal format.

`HEX2BIN`

: Converts a signed hexadecimal number to signed binary format.

`DEC2OCT`

: Converts a decimal number to signed octal format.

`DEC2HEX`

: Converts a decimal number to signed hexadecimal format.

`DEC2BIN`

: Converts a decimal number to signed binary format.

`BIN2OCT`

: Converts a signed binary number to signed octal format.

`BIN2HEX`

: Converts a signed binary number to signed hexadecimal format.

`BIN2DEC`

: Converts a signed binary number to decimal format.

### In order to use the HEX2DEC formula, start with your edited Excellentable:

### Then type in the HEX2DEC Formula in the area you would like to display the outcome:

### By adding the values you would like to calculate the HEX2DEC formula for, Excellentable will generate the outcome: