decimal to hexadecimal converter WITHOUT dec2hex function in excel -
i did hex decimal, need decimal hex. need build formula in excel converts decimal number hexadecimal but: 1. without function "dec2hex()". 2. , without "vba".
only in excel table.
thanks, hai
place decimal value in a1. in b1 place:
=mod(a1,16)
and copy down. in a2 place:
=(a1-b1)/16
and copy down. in c1 place:
=choose(b1+1,0,1,2,3,4,5,6,7,8,9,"a","b","c","d","e","f")
and copy down. in d1 enter:
=c1
in d2 enter:
=if(a2=0,"",c2 & d1)
and copy down. last visible cell in column d answer:
it better use excel's built-in function.
Comments
Post a Comment