CONVERT HEXADECIMAL CELL TO DECIMAL NUMBER

J

JAY

I USED THE HELP AND THE EXAMPLE BUT IT DIDN'T WORK, ANY HELP???
THE EXAMPLE IS GOOD IF I WANT TO PUT ONE NUMBER BUT NOT A CELL.
I'M USEING OFFICE 2003
 
B

Bob Phillips

Post your data and the formula you used.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
J

jay

Dear Bob.
I Had A Row Of Hexadecimal Numbers I Want To Convert it to Decimal So I Used
The Following Formula in the colloun On Cell # b2 =HEX2DEC(A2) Wher A2 Has
The Hexadecimal Number And THe error I Get is #NUM
THanks For Ur replay
jay
 
R

Ron Rosenfeld

ear Bob.
I Had A Row Of Hexadecimal Numbers I Want To Convert it to Decimal So I Used
The Following Formula in the colloun On Cell # b2 =HEX2DEC(A2) Wher A2 Has
The Hexadecimal Number And THe error I Get is #NUM
THanks For Ur replay
jay

Most likely, the number in A2 is not a valid hexadecimal number.

What, exactly, is the contents of A2?


--ron
 
H

Harlan Grove

Ron Rosenfeld wrote...
Most likely, the number in A2 is not a valid hexadecimal number.

What, exactly, is the contents of A2?

In case either the hexadecimal number strings contain spaces or more
than 10 characters, try this (assumes unsigned)

=SUMPRODUCT(SEARCH(MID(RIGHT(REPT("0",32)&TRIM(A23),32),
ROW(INDIRECT("1:32")),1),"0123456789ABCDEF")-1,16^(32-ROW(INDIRECT("1:32"))))
 

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