Skip to main content

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.

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:

 

A
B
C
D
1
State
Population
Total area in mi2
Land area in mi2
Water area in mi2
House seat(s)
2
Alabama
4833722
52,420 (135,767)
50,645 (131,170)
3
Alaska
735132
665,384 (1,723,337)
570,641 (1,477,950)
4
Arizona
6626624
113,990 (295,233)
113,594 (294,207)
5
Arkansas
2959373
53,179 (137,733)
52,035 (134,770)
6
California
38332521
163,695 (423,968)
155,779 (403,466)
7
Colorado
5268367
104,094 (269,602)
103,642 (268,432)
8
Connecticut
3596080
5,543 (14,356)
4,842 (12,541)
9
Delaware
925749
2,489 (6,446)
1,949 (5,048)
10
Florida
19552860
65,758 (170,312)
53,625 (138,888)
11
Georgia
9992167
59,425 (153,910)
57,513 (148,958)
12
Hawaii
1404054
10,932 (28,314)
6,423 (16,635)
13
Idaho
1612136
83,569 (216,443)
82,643 (214,044)
14
15
E
F
G
1
Hex Value
2
1,775 (4,597)
7
A5
3
94,743 (245,383)
1
B5
4
396 (1,026)
9
C5
5
1,143 (2,960)
4
D5
6
7,916 (20,502)
53
E5
7
452 (1,171)
7
F5
8
701 (1,816)
5
A6
9
540 (1,399)
1
B6
10
12,133 (31,424)
27
C6
11
1,912 (4,950)
14
D6
12
4,509 (11,678)
2
E6
13
926 (2,398)
2
F6
14
15
165

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.