How to Convert Binary to Decimal in Excel (2 Easy Methods)

Get FREE Advanced Excel Exercises with Solutions!

Excel is the most widely used tool for dealing with massive datasets. We can perform myriads of tasks of multiple dimensions in Excel. In this article, I will explain 2 easy methods in Excel for binary to decimal conversion.


How to Convert Binary to Decimal in Excel: 2 Easy Methods

This is the dataset for today’s article. It has some binary numbers which I will convert to decimals.

dataset excel binary to decimal


1. Apply BIN2DEC Function to Convert Binary to Decimal in Excel

The first method is the use of the BIN2DEC function. This function will convert the binary numbers to decimal numbers.

Steps:

  • Go to C5 and write down the following formula
=BIN2DEC(B5)

  • Then, press ENTER to get the output.

BIN2DEC function excel binary to decimal

  • Finally, use Fill Handle to AutoFill up to C10.

BIN2DEC function excel binary to decimal

Read More: How to Convert Decimal to Binary in Excel


2. Apply Combination of Functions to Convert Binary to Decimal in Excel

The following method is the use of a combination of multiple functions. These functions include the SUMPRODUCT, MID, LEN, ROW, and INDIRECT functions.

Steps:

  • Go to C5 and write down the following formula
=SUMPRODUCT(--MID(B5,LEN(B5)+1-ROW(INDIRECT("1:"&LEN(B5))),1),(2^(ROW(INDIRECT("1:"&LEN(B5)))-1)))

Formula Breakdown

  • LEN(B5)
  • Output: 3
  • “1:”&LEN(B5)
  • Output: “1:3”
  • ROW(INDIRECT(“1:”&LEN(B5)))
  • Output: {1;2;3}
  • (2^(ROW(INDIRECT(“1:”&LEN(B5)))-1))
  • Output: {1;2;4}
  • LEN(B5)+1-ROW(INDIRECT(“1:”&LEN(B5)))
  • Output: {3;2;1}
  • –MID(B5,LEN(B5)+1-ROW(INDIRECT(“1:”&LEN(B5))),1)
  • Output: {1;1;1}
  • =SUMPRODUCT(–MID(B5,LEN(B5)+1-ROW(INDIRECT(“1:”&LEN(B5))),1),(2^(ROW(INDIRECT(“1:”&LEN(B5)))-1)))
  • Output: 7
  • Then, press ENTER to get the output.

  • After that, use Fill Handle to AutoFill up to C10.

excel binary to decimal

Read More: How to Convert Decimal Number to Hexadecimal (Hex) in Excel


Things to Remember

  • Binary numbers contain only 2 digits, 0 and 1. Other digits are not applicable here. if you use digits other than 0 and 1, the results will not be accurate.

Download Practice Workbook

Download this workbook and practice while going through the article.


Conclusion

In this article, I have demonstrated 2 effective methods on how to convert binary numbers to decimal numbers in Excel. I hope it helps everyone. If you have any suggestions, ideas, or feedback, please feel free to comment below.


Related Articles

What is ExcelDemy?

ExcelDemy Learn Excel & Excel Solutions Center provides free Excel tutorials, free support , and premium Excel consultancy services for Excel and business users. Feel free to contact us with your Excel projects.
Akib Bin Rashid
Akib Bin Rashid

Hi, this is MD Akib Bin Rashid. I completed my BSc in Engineering back in 2019. After that, I did an MBA. Then, I joined as an Excel and VBA Content Developer at SOFTEKO Digital. Being passionate about data analytics and finance, I will try to assist you with Excel

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo