Two’s complement notation is a convention that computers use to represent negative numbers in binary.

For example, the DECIMAL function can convert the binary number 1101 into the decimal number 13.

Example of two’s complement for HEX2OCT function

Example of two’s complement for HEX2OCT function

Example of two’s complement for HEX2OCT function

Example of two’s complement for HEX2OCT function

Example of two’s complement for HEX2OCT function

Excel DECIMAL function

Example of two’s complement for HEX2OCT function