The Excel Base function transforms a number to a specified base (radix) and provides the computed value as text. Because the Base function was introduced in Excel 2013, it is not available in previous versions of Excel.
Syntax :
=BASE(number, radix, [min length])
Parameters :
number -The number to be converted (must be an integer between 0 and 253).
radix-The base to which you wish to convert the given number (must be between 2 and 36).
[min length]-An optional argument that defines the minimum length of the returned string (must be an integer between 0 and 256 if given). If the converted number is less than [min length], the result is padded with leading zeros.
Example :
If any of the inputs are decimal numbers, the function converts them to integers. Three instances of the Excel Base Function are shown in the spreadsheet below. Because the [min length] parameter in cell A2 of the sample spreadsheet has a value of 8, the Base function pads out the output with four leading zeros.
Ask Your Query