View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tsobiech tsobiech is offline
external usenet poster
 
Posts: 3
Default convert decimal to 16 bit hex

Yes, I had already made that modification, but you put me on the right path
initially.

Thank You!

"Jerry W. Lewis" wrote:

=RIGHT(DEC2HEX(number,4),4)

should even preserve the range checking.

Jerry

"Jerry W. Lewis" wrote:

=RIGHT(DEC2HEX(number),4)

Jerry

"tsobiech" wrote:

The excel DEC2HEX function converts decimals to 40 bit hex values, I would
like to convert to 16 bit values. Is there any way to do this?