Hi,
I am trying to find a better way to convert a binary string to a hex string.
At the moment I have a binary digit per cell A1 to H1
I concatenate them to a string
I convert to hex for cell J1 using
Can the 2 formulas be combined?
I am trying to find a better way to convert a binary string to a hex string.
At the moment I have a binary digit per cell A1 to H1
I concatenate them to a string
Code:
Cell I1 contains
=CONCATENATE(A1,B1,C1,D1,E1,F1,G1,H1)
I convert to hex for cell J1 using
Code:
=BIN2HEX(LEFT(I1,4))&BIN2HEX(RIGHT(I1,4))
Can the 2 formulas be combined?