DEC2OCT Function in Excel: Microsoft Excel is a powerful data visualization and analysis program used all around the world. It uses spreadsheets to store, organize, or perform operations with formulas and functions. This application is developed for Windows, Mac, Android, and iOS. The major purpose of the software is to do complicated calculations which are difficult to do manually.
This tutorial will guide you to learn how to use DEC2OCT Function in Excel with its syntax, definition, and examples. Let’s see them one by one. Get the official version of MS Excel from the following link:
Definition of DEC2OCT Function
- It is one of the built-in functions in Microsoft Excel.
- This function converts a decimal number to an octal value.
- DEC2OCT Function is just opposite to OCT2DEC Function.
- Here, you will see the syntax of the DEC2OCT function.
- To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
- Once you enter the formula, just click on the Enter button to get the result.
Number – The decimal number that you want to convert to an octal number.
Places – It is optional. It is used for padding the output value with leading zeros. If you don’t mention the places, it returns the exact value of the input.
1) If places are non-numeric, it returns #VALUE! Error.
2) If the decimal number is less than -536,870,912 or greater than 536,870,911, it will show #NUM! Error value.
3) If you give a negative number to the places, it returns #NUM! Error.
Here we come up with examples to make you understand this concept.
- Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
- For example, we have shown you a range of decimal values in Column A and places in Column B, we will convert them into octal values.
- Then, you have to enter the formula in the cell as shown below to get the result.
- After entering the formula, you need to click the Enter button to get the output, as shown below. You can drag down the cell to fill the remaining cells.
Input that Causes Error
- If places are non-numeric, it returns #VALUE! Error.
- If the decimal number is less than -536,870,912 or greater than 536,870,911, it will show #NUM! Error value.
- If you give a negative number to the places, it returns #NUM! Error.
To sum up, hope this tutorial guided you to learn the usage of DEC2OCT Function in Excel with its syntax, definition, and examples. Share your feedback in the comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.
The following video will show you how to apply the DEC2OCT function in Excel.
- How to Use Excel FLOOR.MATH Function?
- How to Use Excel FLOOR Function?
- How to Use Excel CEILING.PRECISE Function?
- How to Use Excel CEILING Function?
- How to Use Excel GCD Function?
Deepak is an Excel enthusiast and data analyst with over 5 years of experience in the field. I’m a renowned author for AAW Excel who connects with a committed group of Excel users by imparting his professional knowledge and helpful advice. No matter your level of Excel proficiency, my articles and tutorials will teach you something new and beneficial. Connect me via my social links!… Mastodon & More!