Skip to main content

How To Convert Binary Value To Decimal And Decimal To Binary.


How to Use of BIN2DEC(number)” and “DEC2BIN(number,[places])" Function


In this article, we will understand two functions or formulas of Microsoft Excel, which do support each other. Sometimes we have binary number data (Like 1100110), it is called a computer language and we need to convert from binary to decimal number. And also some times we have the requirement to convert decimal data to binary data. The good news is that MS Excel has both formulas to convert binary to decimal and decimal to binary. The formula is very easy and works fast. We need to understand the syntax of the formula then we can apply it anywhere to full fill the requirement.
 

How To Convert Decimal To Binary and How To Convert Binary To Decimal? 



A: DEC2BIN(number,[places]) 
      And 
B: BIN2DEC(number)


Explanation:  A: Decimal To Binary
Decimal and binary functions are very easy to use. We can convert decimal value to binary value and binary value to decimal value. Dec2Bin function In place of  (number),  we can use cell reference or any number to convert into a binary value.
The computer understands only two digits 0 and 1, it is called binary number. It is also called computer language. Whatever we write, computer machine language converts it into binary number then only a computer can be able to undertand. Each and every value has it own binary value. Let suppose decimal number 50 has a binary value is 110010. 

The below table is an example of the conversion of the Decimal value to the Binary value.

Example: 1: Convert Binary Values To Decimal Values


















Example 2:  =DEC2BIN(50) (We can also use any number to convert into the binary)

Result:          110010


Explanation:  B: Binary To Decimal

We can also convert decimal value to binary value in Microsoft Excel.  Syntax: BIN2DEC(number)”, in place of (number) we can put cell reference or directly binary number as suitable (See Example: 2) . If we have huge data to convert, my recommendation is to use cell reference for easy and quick results. 


Example 1 :  Convert Decimal Values To Binary Values




















Example 2:  =BIN2DEC(110010) 
  
Result:          50

We can write binary formula in a blank cell =DEC2BIN(A1), it means to convert a decimal number to binary number, here A1 is a cell reference. Now press Enter key to get the result. And if you like to convert from binary to decimal you can  = BIN2DEC(A1), the binary value will convert into a decimal number. 


Please leave your comment: for more excel queries.
Thanks for your time.

Comments

Popular posts from this blog

Top 10 Job Oriented Certificate Courses

Hello Friends and students. Life is very fast these days and we want some shortcut to become successful in our life. Maximum students want to get a job as soon as possible after completing their studies. Here we will suggest the top 10 job-oriented certificate courses. 1 - Project Management Professional (PMP) Certification: Globally, industries greatly value project management professional certification. It gives you the ability to manage projects successfully, including team leadership, planning, execution, and monitoring. After this course, you can handle big projects or you can assist the senior also. For All Details Click Here 2 - Certified Data Scientist: Making informed business decisions requires data science. This certification prepares you to analyze and interpret complicated data by covering statistics, machine learning, data visualization, and programming abilities. Data scientist is the most demanding course during this period. If you are good to play with huge databases a...

How To Use "LEFT" & “ RIGHT" Formulas in MS Excel.

Uses and explanation of "LEFT" & “ RIGHT Formulas. MS Excel formulas: Easiest way to understand Syntax and usage : Formula:  A: "RIGHT”     B:   “LEFT” =RIGHT(Text,[num_chars]) Explanation:    RIGHT formula is used to split the value inside the cell. In a cell we have a name like "John Abraham", but we don't need the full name, as per client requirement, we want only last name from the tab. In this case, we can use Right formula in MS Excel. Example:   Let suppose we have the name “Mark Henry” in a cell A:1. We would like to take only “Henry” from the cell. See below, how can we pull the last name by the RIGHT formula.  =RIGHT ( E9 , 6 ) You can see in the above table that we can separate Hanery name with using RIGHT formula. Name: Mark Hanery. Query:  We want to separate the last name only.  Formula = Right(E9,6)  Result: Hanery E9 is the cell reference and 6 is the number of...

What is Project Management Professional Certification

The Project Management Professional (PMP) certification is one of the most widely recognized and respected credentials in the field of project management. It is offered by the Project Management Institute (PMI), a globally recognized professional organization for project management practitioners. The PMP certification signifies a high level of expertise and proficiency in project management principles and practices. Below are the full details about the PMP certification: Eligibility Requirements: To be eligible for the PMP certification, candidates must meet certain educational and professional experience criteria: 1 - Educational Background: A four-year degree (bachelor's degree) or global equivalent. Minimum a high school diploma, associate's degree, or global equivalent) in conjunction with additional project management experience. 2 - Project Management Experience: With a four-year degree: A minimum of three years of unique non-overlapping professional project management ex...