Note: The other languages of the website are Google-translated. Back to English

Excel BIN2DEC Function

The BIN2DEC function converts a binary number to a decimal number.

bin2dec function 1


Syntax

=BIN2DEC (number)


Arguments

  • Number (required): The binary number you want to convert to the decimal equivalent.

Return value

The BIN2DEC function returns a numeric value.


Function notes

  1. Number, the only argument in the BIN2DEC function, should be supplied as a numeric value.
  2. The #NUM! error value occurs if:
    • the supplied number argument is not recognized as a binary number.
    • the supplied number argument contains more than 10 characters.

Examples

Supposing, you want to convert the binary numbers in the table below to decimal numbers. Please do as follows.

1. Copy the formula below into cell D5.

=BIN2DEC (B5)

2. Then drag the fill handle down to the cells where you want to apply this formula too. The results are as the following screenshot shows.

bin2dec function 2

Notes:

  1. We can directly input value in the number argument in the formula. For example, the formula in cell D5 can be changed to:

    =BIN2DEC (1)

Relative Functions:

  • Excel EVEN Function
    The EVEN function rounds numbers away from zero to the nearest even integer.

  • Excel EXP Function
    The EXP function returns the result of the constant e raised to the nth power.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

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, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations