Hi-
I can't seem to figure out how to write a macro to do this. I have a data file that has several columns in it. One of them is a cycle count. I want to find all of the unique cycle counts, then figure out the max/min of the other two columns in the array. Here is an example:
00:00:36 653.79 500.25 26528.00 652.92 76.34 74.79
00:00:38 649.73 500.25 26528.00 482.17 76.28 74.75
00:00:40 649.73 487.03 26529.00 682.52 76.20 74.77
00:00:42 681.47 487.03 26529.00 503.78 76.19 74.74
00:00:44 681.47 470.96 26529.00 609.33 76.27 74.74
[/color red]00:00:46 670.65 470.96 26530.00 556.98 76.22 74.75
00:00:48 670.65 470.96 26530.00 461.52 76.20 74.74
00:00:50 670.65 462.90 26530.00 646.74 76.15 74.78
I would like to be able to extract the cycle number (26529), and the max value from the group in column two that matches the cycle number (681.47) and the minimum number from column three (470.96)
Any thoughts/hints on how to go about this would be appreciated. Thanks.
I can't seem to figure out how to write a macro to do this. I have a data file that has several columns in it. One of them is a cycle count. I want to find all of the unique cycle counts, then figure out the max/min of the other two columns in the array. Here is an example:
00:00:36 653.79 500.25 26528.00 652.92 76.34 74.79
00:00:38 649.73 500.25 26528.00 482.17 76.28 74.75
00:00:40 649.73 487.03 26529.00 682.52 76.20 74.77
00:00:42 681.47 487.03 26529.00 503.78 76.19 74.74
00:00:44 681.47 470.96 26529.00 609.33 76.27 74.74
[/color red]00:00:46 670.65 470.96 26530.00 556.98 76.22 74.75
00:00:48 670.65 470.96 26530.00 461.52 76.20 74.74
00:00:50 670.65 462.90 26530.00 646.74 76.15 74.78
I would like to be able to extract the cycle number (26529), and the max value from the group in column two that matches the cycle number (681.47) and the minimum number from column three (470.96)
Any thoughts/hints on how to go about this would be appreciated. Thanks.