Returns a text representation of a number, in a specified base radix.
BASE(number, radix, minlength)
converts number (a positive integer) to text, with the base radix radix (an integer between 2 and 36), using characters 0-9 and A-Z.
minlength (optional) specifies the minimum number of characters returned; zeroes are added on the left if necessary.
BASE(17, 2)
returns 10001 as text (binary system).
BASE(17, 10)
returns 17 as text (decimal system).
BASE(255, 16, 4)
returns 00FF as text (hexadecimal system). Extra zeroes are added to give 4 characters.
ISTEXT(BASE(17, 10))
returns TRUE. Text is returned, not a number.
Converting Data for a Legacy System
Imagine you are a data analyst at a small manufacturing company. Your company has recently acquired a new set of sensors for its production line. These sensors measure a variety of metrics, but their data output is in decimal (base-10) format. The legacy control system, however, can only process and display data in hexadecimal (base-16) format.
You have a list of temperature readings from a sensor, and you need to create a conversion table to send to the legacy system administrator.
The BASE function has the following syntax:
BASE(Number, Radix, [Min_length])
The Table
Decimal Temperature | Hexadecimal Temperature | Result from Formula | ||
|---|---|---|---|---|
A | B | C | ||
1 | 120 | 78 | 78 | |
2 | 165 | A5 | A5 | |
3 | 255 | FF | FF | |
4 | 10 | A | A | |
5 | 256 | 100 | 100 | |
6 | 85 | 55 | 55 |
Explanation:
The formula column is where you would input the BASE function, and the results column is where the output of that function is displayed. Here’s a detailed breakdown of how it works for each row in the table:
Row 1:
Row 2:
Row 3:
Row 4:
Row 5:
Row 6:
PRODUCT & FEATURES
RESOURCES
Terms | Privacy | Spam Policy
© 2026 Zapof