i have a file with data as follows;
==============================
Field1 | Field2 | Field3|
==============================
771323 | 02.00 min | 30.00 |
771323 | 04.00 min | 40.00 |
771323 | 05.00 min | 50.00 |
771323 | 06.00 min | 60.00 |
771323 | 07.00 min | 70.00 |
829999 | 02.00 min | 30.00 |
829999 | 04.00 min | 40.00 |
781222 | 05.00 min | 50.00 |
781222 | 06.00 min | 60.00 |
781222 | 07.00 min | 70.00 |
==============================
from the above data, after doing separation and calculation i want an output file with the following data;
==============================
Field1 | Field2 | Field3|
==============================
771323 | 02.00 min | 30.00 |
771323 | 04.00 min | 40.00 |
771323 | 05.00 min | 50.00 |
771323 | 06.00 min | 60.00 |
771323 | 07.00 min | 70.00 |
----------------------------
Total $ 250 $
829999 | 02.00 min | 30.00 |
829999 | 04.00 min | 40.00 |
----------------------------
Total $ 70 $
781222 | 05.00 min | 50.00 |
781222 | 06.00 min | 60.00 |
781222 | 07.00 min | 70.00 |
----------------------------
Total $ 180 $
==============================
it was difficult for me to explain this in written, i hope you could understand this and explain me how i can proceed.
chao, xtravel
My Site:
==============================
Field1 | Field2 | Field3|
==============================
771323 | 02.00 min | 30.00 |
771323 | 04.00 min | 40.00 |
771323 | 05.00 min | 50.00 |
771323 | 06.00 min | 60.00 |
771323 | 07.00 min | 70.00 |
829999 | 02.00 min | 30.00 |
829999 | 04.00 min | 40.00 |
781222 | 05.00 min | 50.00 |
781222 | 06.00 min | 60.00 |
781222 | 07.00 min | 70.00 |
==============================
from the above data, after doing separation and calculation i want an output file with the following data;
==============================
Field1 | Field2 | Field3|
==============================
771323 | 02.00 min | 30.00 |
771323 | 04.00 min | 40.00 |
771323 | 05.00 min | 50.00 |
771323 | 06.00 min | 60.00 |
771323 | 07.00 min | 70.00 |
----------------------------
Total $ 250 $
829999 | 02.00 min | 30.00 |
829999 | 04.00 min | 40.00 |
----------------------------
Total $ 70 $
781222 | 05.00 min | 50.00 |
781222 | 06.00 min | 60.00 |
781222 | 07.00 min | 70.00 |
----------------------------
Total $ 180 $
==============================
it was difficult for me to explain this in written, i hope you could understand this and explain me how i can proceed.
chao, xtravel
My Site: