Documente Academic
Documente Profesional
Documente Cultură
A number system is a systematic way to represent numbers with symbolic characters and
uses a base value to conveniently group numbers in compact form. The most common
number system is decimal, which has a base value of 10, and a symbolic character set of
0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. However, there are other number systems, and they can be
more efficient to use for a specific purpose. For example, because computers use Boolean
logic to perform calculations and operations, they use the binary number system, which
has a base value of 2.
Microsoft Office Excel has several functions that you can use to convert numbers to and
from the following number systems:
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
2 =BIN2DEC(1100100) Converts binary 1100100 to decimal (100)
3 =BIN2DEC(1111111111) Converts binary 1111111111 to decimal (-1)
Function details
BIN2DEC
Top of Page
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
Converts binary 11111011 to hexadecimal with 4
2 =BIN2HEX(11111011, 4)
characters (00FB)
3 =BIN2HEX(1110) Converts binary 1110 to hexadecimal (E)
Converts binary 1111111111 to hexadecimal
4 =BIN2HEX(1111111111)
(FFFFFFFFFF)
Function details
BIN2HEX
Top of Page
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
Function details
BIN2OCT
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
2 =DEC2BIN(9, 4) Converts decimal 9 to binary with 4 characters (1001)
3 =DEC2BIN(-100) Converts decimal -100 to binary (1110011100)
Function details
DEC2BIN
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
Function details
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
DEC2HEX
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
2 =DEC2OCT(58, 3) Converts decimal 58 to octal (072)
3 =DEC2OCT(-100) Converts decimal to octal (7777777634)
Function details
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
DEC2OCT
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
Converts hexadecimal F to binary, with 8 characters
2 =HEX2BIN("F", 8)
(00001111)
3 =HEX2BIN("B7") Converts hexadecimal B7 to binary (10110111)
Converts hexadecimal FFFFFFFFFF to binary
4 =HEX2BIN("FFFFFFFFFF")
(1111111111)
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
Function details
HEX2BIN
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
2 =HEX2DEC("A5") Converts hexadecimal A5 to decimal (165)
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
Function details
HEX2DEC
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
Function details
HEX2OCT
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
4. In the worksheet, select cell A1, and press CTRL+V.
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.
A B
1 Formula Description (Result)
2 =OCT2BIN(3, 3) Converts octal 3 to binary with 3 characters (011)
Function details
OCT2BIN
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
A B
1 Formula Description (Result)
2 =OCT2DEC(54) Converts octal 54 to decimal (44)
3 =OCT2DEC(7777777533) Converts octal 7777777533 to decimal (-165)
Function details
OCT2DEC
Top of Page
Example
The example may be easier to understand if you copy it to a blank worksheet.
3. Press CTRL+C.
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
A B
1 Formula Description (Result)
Converts octal number 100 to hexadecimal with 4
2 =OCT2HEX(100, 4)
characters (0040)
Converts octal number 7777777533 to hexadecimal
3 =OCT2HEX(7777777533)
(FFFFFFFF5B)
Function details
OCT2HEX
Top of Page
Yes
No