DEC2HEX Function

The DEC2HEX function is used to convert a decimal number to a hexadecimal number.

Formula:


=DEC2HEX(Number, Places)
Whereas Number is the decimal number to be converted and Places is the number of characters to use. Negative numbers are represented using two's-complement notation.

Video Tutorial:


Let us convert a decimal number to a hexadecimal number, using the DEC2HEX function, with the help of the below video.

Learn MS Excel


Ask Questions

Ask Question