+ Reply to Thread
Results 1 to 2 of 2

Hex2Dec substitue?

  1. #1
    Stuart Peters
    Guest

    Hex2Dec substitue?

    Windows Mobile Excel does not have HEX2DEC.

    I need to convert an 8 digit Hex number to decimal.
    Anyone have a good way of doing this?

    Thanks,

  2. #2
    Leo Heuser
    Guest

    Re: Hex2Dec substitue?

    "Stuart Peters" <StuartPeters@discussions.microsoft.com> skrev i en
    meddelelse news:65D4252C-4866-4299-BDF3-50CFC852709C@microsoft.com...
    > Windows Mobile Excel does not have HEX2DEC.
    >
    > I need to convert an 8 digit Hex number to decimal.
    > Anyone have a good way of doing this?
    >
    > Thanks,


    Hi Stuart

    Here's one way to covert a hex number to decimal:

    Number in C2

    Enter this array formula in a cell as one line.

    =SUM((16^(ROW(INDIRECT("1:"&LEN(C2)))-1))*CHOOSE(SEARCH(MID(C2,(LEN(C2)-
    ROW(INDIRECT("1:"&LEN(C2)))+1),1),"0123456789ABCDEF"),0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15))

    The formula must be entered with <Shift><Ctrl><Enter>, also
    if edited later.


    --
    Best regards
    Leo Heuser

    Followup to newsgroup only please.



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1