Excel DEC2BIN Function

What is DEC2BIN Function in Excel?


The DEC2BIN function is one of the ENGINEERING functions of Excel.

It converts a decimal number to binary.

We can find this function in ENGINEERING category of insert function Tab.

How to use DEC2BIN function in excel

  1. Click on an empty cell (like F5).
an empty cell in excel

2. Click on the fx icon (or press shift+F3).

fx icon in excel

3. In the insert function tab you will see all functions.

best function of excel

4. Select ENGINEERING category.

5. Select DEC2BIN function.

6. Then select ok.

excel DEC2BIN function

7. In the function arguments Tab you will see DEC2BIN function.

8. Number section is the decimal integer you want to convert.

9. Places section is the number of characters to use.

10. You will see the results in the formula result section.

Examples of DEC2BIN function in Excel

Example 1:

How to use DEC2BIN function in excel

You can see examples of DEC2BIN function below:

Examples of DEC2BIN function in Excel
dec2bin(A2,B2) ----->>>>answer is  0000

dec2bin(A3,B3) ----->>>>answer is  0001

dec2bin(A4,B4) ----->>>>answer is  0010

dec2bin(A5,B5) ----->>>>answer is  0011

dec2bin(A6,B6) ----->>>>answer is  0100

dec2bin(A7,B7) ----->>>>answer is  0101

Purpose of DEC2BIN function

It converts a decimal number to binary.

Return value of DEC2BIN function

It returns a number.

Arguments of DEC2BIN function

This function has just 2 Argument.

The argument of DEC2BIN function is number.

Number section is the decimal integer you want to convert.

Places section is the number of characters to use.

The argument of DEC2BIN function is required and not optional.

DEC2BIN(number) = number

Version of excel supports DEC2BIN function

This function is available for all excel versions (2003-2019)

Errors in DEC2BIN function

DEC2BIN related functions 

Leave a Reply

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