I am importing a csv-file containing a data column with semicolon separated bytes in hexadecimal format like this:
06;03;58;1C;05;F5;D2;70;05;F5;DF;...
(Yes, this is all one column in the comma separated file..)
I would like to parse this column into a number of columns with 32-bit values and convert them to decimal:
06;03;58;1C -> 0x0603581C -> 100882460
05;F5;D2;70 -> 0x05F5D270 -> 99996272 ...
Here is one of my first (futile) attempts to create the first column:
Integer(Concatenate("0x",
Mid([data], 1, 2),
Mid([data], 4, 2),
Mid([data], 7, 2),
Mid([data], 10, 2)))
Any suggestions on how to accomplish this? I am trying to avoid the extra step of pre-processing the csv-file in Excel using this very similar calculation:
HEX2DEC(CONCATENATE(
MID($M2,1,2),
MID($M2,4,2),
MID($M2,7,2),
MID($M2,10,2)))