Hexadecimal subtraction

syedumairali

New Member
Joined
Mar 23, 2009
Messages
5
Hi Mr Excel,

I am into a problem where I need to subtract two 128 bit Hexadecimals values, Can I do that with Excel.

Regards,
Umair
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hello and welcome to MrExcel.

Does this work as expected?

<b>Sheet4</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:64px;" /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td >A2</td><td style="text-align:right; ">8</td><td style="text-align:right; ">9A</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >C1</td><td >=DEC2HEX(HEX2DEC<span style=' color:008000; '>(A1)</span>-HEX2DEC<span style=' color:008000; '>(B1)</span>)</td></tr></table></td></tr></table> <br />Excel tables to the web - Excel Jeanie Html 4
 
Upvote 0
Hi

Thanks for the reply, the HEX2DEC only work for 40 bits hex but I need to subtract numerous 128 bits cells like B1=A2-A1, where
<table x:str="" style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="513" height="144"><col style="width: 130pt;" width="173"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 130pt;" width="173" height="17">A1 :
45 B3 FF FF 00 00 00 00 00 00 00 00 00 00 17 40 61 AC F0 38 01 47 C4 E2
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">A2
2B 73 FF FF 00 00 00 00 00 00 00 00 00 00 17 40 61 AD 0A 78 93 EA 6C 9A</td> </tr> </tbody></table>Please help !

Regards,
Umair
<title>DEC2HEX</title><link href="office10.css" type="text/css" rel="stylesheet"><script language="JavaScript" src="ExpCollapse.js"></script><script language="JavaScript" src="tfplug.js"></script>
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top