Skip to Content

BASE

Converts a number into a text representation with the given radix (base)

Syntax

BASE(number, radix, [min_length])

Parameters

  • number: Required. The number that you want to convert. Must be an integer >= 0 and < 2^53
  • radix: Required. The base radix, must be >= 2 and <= 36
  • min_length: Optional. The minimum length of the returned string. If omitted, no padding is added

Example

=BASE(255, 16)
Returns: StringSince: Excel 2013