Gents,
Please can you help me.
Input file
1050 , 9 ,9888
1050 ,10 ,9888
1050 ,11 ,9888
1050 ,13 ,9888
1050 ,15 ,9888
1051 , 9 ,9889
1051 ,12 ,9889
1051 ,15 ,9889
1051 ,18 ,9889
1052 , 9 ,9890
1052 ,10 ,9890
1052 ,11 ,9890
1052 ,15 ,9890
1053 , 9 ,9891
1053 ,10 ,9891
1053 ,14 ,9891
1054 , 9 ,9892
1054 ,10 ,9892
1054 ,11 ,9892
Kindly help me to get the minimun and maximun value in column 2, for each value in column 1. Then to write in a new column 4 the total of values counted.
My desired output shoul be like this:
1050 9 15 9888 5
1051 9 18 9889 4
1052 9 15 9890 4
1053 9 14 9891 4
1054 9 11 9891 3
Thanks in advance