Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default converting hex values to negative numbers


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default converting hex values to negative numbers

Michael

Use the HEX2DEC function. To use this you will need to load the Analysis
ToolPak via ToolsAdd-Ins...

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Michael_Braganza" wrote in
message ...


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default converting hex values to negative numbers

One problem with that is that if you have fewer than 10 characters in your
HEX number it will regard it as positive, so you may want to pad out with
leading Fs, with something like
=HEX2DEC(REPT("F",(LEFT(A1)="8")*(10-LEN(A1)))&A1)
but of course you'll have to remember to include leading zeroes in your
input data if there are any.
--
David Biddulph

"Nick Hodge" wrote in message
...
Michael

Use the HEX2DEC function. To use this you will need to load the Analysis
ToolPak via ToolsAdd-Ins...

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Michael_Braganza" wrote in
message ...




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
duplicate numbers in column a and diferent values in b Jeanne Excel Worksheet Functions 2 April 8th 06 07:23 PM
Add sequences of positive then negative numbers judoist Excel Discussion (Misc queries) 6 November 26th 05 05:51 AM
Converting negative/positive numbers to a CSV (Comma-delimited .TX Frustrated Excel user Excel Worksheet Functions 2 August 17th 05 05:51 PM
Min values in a list of numbers Traima Excel Worksheet Functions 1 August 5th 05 01:32 PM
Compare Negative & Positive Numbers chom New Users to Excel 3 July 28th 05 08:26 AM


All times are GMT +1. The time now is 10:05 AM.

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

About Us

"It's about Microsoft Excel"