I have a list such as herebelow format. Each GID line shows quantity and MEA shows weight. I need a macro to get total of each quantity and weight. As you see quantity and wegiht are not in a specific digit but variable.
LIST:
GID;1;190;BI;
MEA;KGM;20750.50;
GID;2;1000;BI;
MEA;KGM;22400;
GID;3;10;BI;
MEA;KGM;2450;
TOTAL:
GID = 1200 ( 190 + 1000 + 10 )
MEA = 45600,50 ( 20750.50 + 22400 + 2450 )
LIST:
GID;1;190;BI;
MEA;KGM;20750.50;
GID;2;1000;BI;
MEA;KGM;22400;
GID;3;10;BI;
MEA;KGM;2450;
TOTAL:
GID = 1200 ( 190 + 1000 + 10 )
MEA = 45600,50 ( 20750.50 + 22400 + 2450 )