Math and trigonometry

BASE

Express an integer as digits in a chosen base from 2 through 36.

Syntax

=BASE(number, radix, [min_length])

Worked example

Show a decimal value in base 16.

=BASE(31,16)

Result 1F (text)

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor