![]() |
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. |
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 " 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. |
All times are GMT +1. The time now is 02:50 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com