I work in a laboratory. A duplicate is ran on each set of samples. How do I select a range of samples from a column of results, perform quality calculations, flag the samples of the current set if necessary and then move on to the next set?
Dish # Result Flag
1 20
2 31
3 22
3 26
4 19
5 17
6 12
7 25
7 31
The first set would consist of samples 1-3. A relative percent difference calculation is performed on the results of samples 3 and its duplicate. If it does not meet acceptance criteria samples 1-3 are flagged "AD" - duplicates out of control. The program then goes on and tests samples 4-7, the next set. How do I get the "Loop to start after the first set of duplicates (in this case sample number 3) and perform the operation again?
Dish # Result Flag
1 20
2 31
3 22
3 26
4 19
5 17
6 12
7 25
7 31
The first set would consist of samples 1-3. A relative percent difference calculation is performed on the results of samples 3 and its duplicate. If it does not meet acceptance criteria samples 1-3 are flagged "AD" - duplicates out of control. The program then goes on and tests samples 4-7, the next set. How do I get the "Loop to start after the first set of duplicates (in this case sample number 3) and perform the operation again?