## Excel BASE Function

The BASE function converts a number into a given radix or base and returns a text representation of the calculated value.

#### Syntax

=BASE (number, radix, [min_length])

#### Arguments

• Number (required): The number you want to convert to a given base. It must be an integer. 0≤ number ≤ 2^53.
• Radix (required): The base to convert the supplied number to. It must be an integer. 2≤ radix ≤ 36.
• Min_length (optional): The minimum length of the returned string. If specified, it must be an integer. 0≤ min_length ≤ 255.

#### Return value

The Base function returns the text representation of the converted number.

#### Function notes

1. BASE function will return the #VALUE! error if any of the supplied arguments are non-numeric.
2. BASE function will return the #NUM! error if:
• number<0 or number>2^53
• min_length<0 or min_length>255
3. If any of the supplied arguments are non-integer numbers, the BASE function will truncate them to integers.
4. If the result is shorter than the specified length of Min_length argument, it will be padded with zeros.
5. Results returned from the BASE function are text strings.

#### Examples

To convert the numbers into a text representation with the given radix (base) in the below table, please copy the formulas below into cell C8, D8, E8 and F8 respectively and press the Enter key to get the results.

=BASE (C3, C4)

=BASE (D3, D4)

=BASE (E3, E4, E5)

=BASE (F3, F4, F5)

Notes:

1. We can directly input the values of the arguments in the formula. The four formulas above can be changed to:

=BASE (10, 2)

=BASE (12, 6)

=BASE (29, 3, 6)

=BASE (60, 8, 4)

2. The min_length argument is optional. Choose to supply it or not as you wish, like the formulas above.

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.