Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Add Outline to Data in Excel
  • Working With Tables in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Get column index in Excel Table

References

  • How to use Excel INDIRECT Function
  • Offset in Excel
  • How to get first row number in range in Excel
  • How to reference named range different sheet in Excel
  • Last row number in range

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation no punctuation
  • Prevent invalid data entering in specific cells
  • Excel Data validation whole percentage only
  • Excel Data validation date in specific year

BASE function: Description, Usage, Syntax, Examples and Explanation

by

What is BASE function in Excel?

BASE function is one of the Math and Trig functions in Microsoft Excel that r converts a number into a text representation with the given radix (base).

Syntax of BASE function

BASE(Number, Radix [Min_length])

The BASE function syntax has the following arguments.

  • Number: The number that you want to convert. Must be an integer greater than or equal to 0 and less than 2^53.
  • Radix:  The base radix that you want to convert the number into. Must be an integer greater than or equal to 2 and less than or equal to 36.
  • Min_length(Optional):  The minimum length of the returned string. Must be an integer greater than or equal to 0.

BASE formula explanation

  • If Number, Radix, or Min_length are outside the minimum or maximum constraints, BASE returns the #NUM! error value.
  • If Number is a non-numeric value, BASE returns the #VALUE! error value.
  • Any non-integer number entered as an argument is truncated to an integer.
  • If the Min_length argument is included, leading zeros are added to the result if the result would otherwise be shorter than the minimum length specified. For example, BASE(16,2) returns 10000, but BASE(16,2,8) returns 00010000.
  • The maximum value of the Min_length argument is 255.

Example of BASE function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Formula Description Result
=BASE(7,2) Converts the decimal number 7 to base 2 (binary). Result is 111. 111
=BASE(100,16) Converts the decimal number 100 to base 16 (hexadecimal). The result is 64. 64
=BASE(15,2,10) Converts the decimal number 15 to base 2 (binary), with a minimum length of 10. The result is 0000001111, which is 1111 with 6 leading zeros to make the string 10 characters long. 0000001111

Post navigation

Previous Post:

TRUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Pie Chart

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel TRUE Function
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • OR function Examples in Excel

Date Time

  • Extract time from a date and time in Excel
  • Series of dates by day
  • DAYS360 function: Description, Usage, Syntax, Examples and Explanation
  • Convert Excel time to Unix time in Excel
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • Map inputs to arbitrary values in Excel

General

  • AutoFit Column Width, AutoFit Row Height in Excel
  • Subtotal invoices by age in Excel
  • How to count total columns in range in Excel
  • How to fill cell ranges with random text values in Excel
  • How to calculate decrease by percentage in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning