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

Data Analysis

  • How to Use Solver Tool in Excel
  • Everything about Charts in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • How to Sort by Color in Excel
  • How to count table rows in Excel

References

  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • Count unique text values with criteria
  • How to get last row in numeric data in Excel
  • How to create dynamic named range with OFFSET in Excel
  • How to use Excel OFFSET function

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation allow weekday only
  • Excel Data validation whole percentage only
  • Excel Data validation with conditional list
  • Excel Data validation date in specific year

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

by

What is DECIMAL function in Excel?

DECIMAL function is one of the Math and Trig functions in Microsoft Excel that converts a text representation of a number in a given base into a decimal number.

Syntax of DECIMAL function

DECIMAL(text, radix)

The DECIMAL function syntax has the following arguments.

  • Text:
  • Radix: Radix must be an integer.

DECIMAL formula explanation

  • The string length of Text must be less than or equal to 255 characters.
  • The Text argument can be any combination of alpha-numeric characters that are valid for the radix, and is not case sensitive.
  • Excel supports a Text argument greater than or equal to 0 and less than 2^53. A text argument that resolves to a number greater than 2^53 may result in a loss of precision.
  • Radix must be greater than or equal to 2 (binary, or base 2) and less than or equal to 36 (base 36).
    A radix greater than 10 use the numeric values 0-9 and the letters A-Z as needed. For example, base 16 (hexadecimal) uses 0-9 and A-F, and base 36 uses 0-9 and A-Z.
  • If either argument is outside its constraints, DECIMAL may return the #NUM! or #VALUE! error value.

Example of DECIMAL 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 How it works
‘=DECIMAL(“FF”,16) Converts the hexadecimal (base 16) value FF to its equivalent decimal (base 10) value (255). =DECIMAL(“FF”,16) “F” is in position 15 in the base 16 number system. Because all number systems start with 0, the 16th character in hexadecimal will be in the 15th position. The formula below shows how it is converted to decimal:
The HEX2DEC function in cell C3 verifies this result. =HEX2DEC(“ff”) Formula
=(15*(16^1))+(15*(16^0))
‘=DECIMAL(111,2) Converts the binary (base 2) value 111 to its equivalent decimal (base 10) value (7). =DECIMAL(111,2) “1” is in position 1 in the base 2 number system. The formula below shows how it is converted to decimal:
The BIN2DEC function in cell C6 verifies this result. =BIN2DEC(111) Formula
=(1*(2^2))+(1*(2^1))+(1*(2^0))
‘=DECIMAL(“zap”,36) Converts the value “zap” in base 36 to its equivalent decimal value (45745). =DECIMAL(“zap”,36) “z” is in position 35, “a” is in position 10, and “p” is in position 25. The formula below shows how it is converted to decimal.
Formula
=(35*(36^2))+(10*(36^1))+(25*(36^0))

Post navigation

Previous Post:

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

Next Post:

Excel Data validation require unique number

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

  • How to use Excel NOT Function
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel
  • TRUE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert decimal minutes to Excel time
  • WEEKDAY function: Description, Usage, Syntax, Examples and Explanation
  • How to Calculate Age in Excel
  • Convert date to Julian format in Excel
  • Get work hours between dates and times in Excel

Grouping

  • Group times into 3 hour buckets in Excel
  • Map inputs to arbitrary values in Excel
  • Categorize text with keywords in Excel
  • How to randomly assign people to groups in Excel
  • Running count group by n size in Excel

General

  • How to set or clear a print area in Excel Worksheet
  • Split Cell Content Using Text to Columns in Excel
  • Index and match on multiple columns in Excel
  • AutoFit Column Width, AutoFit Row Height in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning