Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default convert decimal to 16 bit hex

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default convert decimal to 16 bit hex

=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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default convert decimal to 16 bit hex

=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?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert time to decimal frankie New Users to Excel 1 May 24th 06 04:44 PM
Convert Hours to Decimal dminkov Excel Worksheet Functions 2 January 10th 06 10:42 AM
Convert Hrs:Min to Decimal Hrs DaveJhelpexcel Excel Discussion (Misc queries) 3 June 30th 05 07:33 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
hex to decimal convert Nadia Excel Worksheet Functions 4 January 16th 05 10:36 PM


All times are GMT +1. The time now is 08:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"