Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Performing hex to decimal calcs in Excel....

Thread Tools
 
Search this Thread
 
Old 11 May 2003, 10:07 AM
  #1  
DJ Dunk
Moderator
Support Scoobynet!
Thread Starter
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Wink

HEX2DEC(number)

Number is the hexadecimal number you want to convert. Number cannot contain more than 10 characters (40 bits). The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.

Remark

If number is not a valid hexadecimal number, HEX2DEC returns the #NUM! error value.

Examples

HEX2DEC("A5") equals 165

HEX2DEC("FFFFFFFF5B") equals -165

HEX2DEC("3DA408B9") equals 1034160313

If this function is not available, run the Setup program to install the Analysis ToolPak. After you install the Analysis ToolPak, you must enable it by using the Add-Ins command on the Tools menu.

[Edited by DJ Dunk - 11/5/2003 10:08:00 AM]
Old 05 November 2003, 10:00 AM
  #2  
dowser
Scooby Senior
 
dowser's Avatar
 
Join Date: Oct 2000
Location: Zurich, Switzerland
Posts: 3,105
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi All,

I want to take a spreadsheet mostly populated with hex values, and replace it with decimal ones (need an easier way of analysing boost maps ).

Problem is, I'm a retard with Excel - does anyone know how I can create a formula to do this?

Thanks
Richard
Old 05 November 2003, 02:18 PM
  #3  
dowser
Scooby Senior
 
dowser's Avatar
 
Join Date: Oct 2000
Location: Zurich, Switzerland
Posts: 3,105
Likes: 0
Received 0 Likes on 0 Posts
Post

Brilliant - thank you

Richard
Old 05 November 2003, 02:30 PM
  #4  
DJ Dunk
Moderator
Support Scoobynet!
Thread Starter
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Post

You're welcome
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Pro-Line Motorsport
Car Parts For Sale
48
21 July 2017 09:50 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
scoobhunter722
ScoobyNet General
52
20 October 2015 04:32 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
InTurbo
ScoobyNet General
21
30 September 2015 08:59 PM



Quick Reply: Performing hex to decimal calcs in Excel....



All times are GMT +1. The time now is 07:39 AM.