+ Reply to Thread
Results 1 to 2 of 2

in excel, how to limit digits of negative hexadecimal numbers?

  1. #1

    in excel, how to limit digits of negative hexadecimal numbers?

    how does one limit the number of digits displayed in a negative hexadecimal
    number?

    e.g., instead of the default 10 digits, somethimes i'd like to have only 3
    digits, other times 4.

  2. #2
    Gary''s Student
    Guest

    RE: in excel, how to limit digits of negative hexadecimal numbers?

    Remember that the hex "digits" are just a string representing the number:


    In A1 put -700
    in B1 put =DEC2HEX(A1) and you will see FFFFFFFD44
    if you want the upper half then use =RIGHT(HEX2DECMAL(A1),4)
    if you want the lower half then use =LEFT(HEX2DECMAL(A1),4)
    --
    Gary''s Student


    "[email protected]" wrote:

    > how does one limit the number of digits displayed in a negative hexadecimal
    > number?
    >
    > e.g., instead of the default 10 digits, somethimes i'd like to have only 3
    > digits, other times 4.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1