DECIMAL Function
Convert the text of a number in another base to a decimal number. number is the text of the number and radix the base, from 2 to 36; the letters A to Z stand for the digits 10 to 35, in either case. A digit that is not valid in the base, or a radix outside 2 to 36, returns #NUM!. The optional min_length is accepted but does not change the result.
Syntax
DECIMAL(number, radix, min_length)
Category: Math. Minimum arguments: 2. Maximum arguments: 3.
Available for supported offline calculation.
Examples
=DECIMAL(31,16)
The formula returns 49, the value of the hexadecimal number 31 (3 × 16 + 1).
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.