LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default Any way to add hex numbers?

I am trying to optimize my checksum routine without using a macro.
Using formulas only if possible. I add up a column of hex numbers and
generates a 4 digit hex checksum. To do this, I had to generate a
decimal number in column D and then add column D. I want to remove
column D from the worksheet. Any way to add hex numbers?

checksum=RIGHT(DEC2HEX(SUM(D1:D4098)),4)

C D
--- ---
02 2
1F 31
4E 78
02 2
1F 31
3A 58
02 2
02 2
72 114
12 18
1E 30
53 83
02 2

I tried variations of this which does not work
(SUM(HEX2DEC(C1):HEX2DEC(C4098))
 
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
Excel, change column of negative numbers to positive numbers? Nita New Users to Excel 3 November 27th 07 04:54 AM
Need to reconcile numbers accounting Harlan Grove code doesn't work for negative numbers [email protected] Excel Programming 1 July 28th 06 07:09 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 3 January 19th 06 09:52 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 1 January 9th 06 01:23 PM


All times are GMT +1. The time now is 02:58 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"