Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting from bin to hex, won't display nonnumeric chars 1

Status
Not open for further replies.

NAB

Technical User
Aug 15, 2000
13
GB
hellooo

i'm trying to convert from binary to hexidecimal, i've sorted out the formular =sum(bin2hex(number)) but if i try to use a binary number that gives a non-numeric output in hex, all i get is #value.

any help????

neil

 
sorry should have mentioned, i'm using excel
 
Neil: I don't know what you're trying to get, 'cause I know nothing about hex-whatever.

I do know that you can't SUM text. You might be able to use CONCATENATE, dunno. Something like =concatenate(bin2hex(text))

Worth a shot, I guess.

Here's what concatenate does and another way to use it:

A1= Neil
B1= NAB

=A1&" "&B1
=CONCATENATE(A1," ",B1)

Either returns Neil NAB (including space between)
techsupportgirl@home.com
Brainbench MVP for Microsoft Word
 
dreamboat, you are a star mate!!!!

i didn't try the conc thing, but you got me thinking about why i was putting the =sum() in there, and well i don;t know why.

so i removed it and ay presto bin2hex(number) works on its own.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top