#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default ESN conversion

Hi there, I tried searching and experimenting myself but I can't seem to find
a solution. I'm trying to figure out how to convert a cell phone ESN number
from HEX to DEC. The cell phone ESN's are unique in that they are 8
characters with the first two digits being a product code. Here is an example:

ESN HEX: 23 21 49 5F

The manufacturer code is 23 (hex) or 035 (dec)

The serial number is 21 49 5F (hex) or 02181471 (dec)

So the dec ESN is: 03502181471

So does anyone know how to make a formula that will convert it like that?
Thanks for your help in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,069
Default ESN conversion

try ="0"&HEX2DEC(LEFT(A1,2))&"0"&HEX2DEC(RIGHT(A1,6 )) with the hex code in
cell A1 with out spaces
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"jay-rod" wrote:

Hi there, I tried searching and experimenting myself but I can't seem to find
a solution. I'm trying to figure out how to convert a cell phone ESN number
from HEX to DEC. The cell phone ESN's are unique in that they are 8
characters with the first two digits being a product code. Here is an example:

ESN HEX: 23 21 49 5F

The manufacturer code is 23 (hex) or 035 (dec)

The serial number is 21 49 5F (hex) or 02181471 (dec)

So the dec ESN is: 03502181471

So does anyone know how to make a formula that will convert it like that?
Thanks for your help in advance!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default ESN conversion

Thank you John that works Perfectly!
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
Conversion [email protected] Excel Discussion (Misc queries) 0 August 6th 06 10:15 PM
Conversion Duke Energy Excel Discussion (Misc queries) 0 January 24th 06 09:30 PM
pdf conversion Pat Excel Worksheet Functions 2 July 1st 05 12:53 AM
Between conversion Dan Wilson Excel Worksheet Functions 0 March 13th 05 03:02 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


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

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

About Us

"It's about Microsoft Excel"