Hex2Dec substitue?

S

Stuart Peters

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,
 
L

Leo Heuser

Stuart Peters said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top