The Excel Decimal function converts a text representation of a number in a specified base, into a decimal value.
Note: the Decimal function was only introduced in Excel 2013 and so is not available in earlier versions of Excel.
The syntax of the function is:
Where the arguments are as follows:
text    The text representation of the number that you want to convert (must be less than 256 characters long). 
radix    The base (radix) of the supplied number (must be an integer ≥ 2 and ≤ 36). 
The following spreadsheet shows four examples of the Excel Decimal Function:
Formulas:
 Results:

Note that, in the above spreadsheet:
For further details and examples of the Excel Decimal function, see the Microsoft Office website.
If you get an error from the Excel Decimal function, this is likely to be one of the following:
#NUM!    Occurs if either:

#VALUE!    Occurs if either:
