This is a guess on what you want......not sure all of the conditions are properly being checked on
This is a formula.....not open JSL code
dt = Current Data Table();
holdID = :ID;
holdtest_id = :test_id;
holdmain_rad = :main_rad;
numGE15 = N Rows(
dt << get rows where(
holdID == :ID & holdtest_id == :test_id & holdmain_rad ==
:main_rad & :result >= 15
)
);
If( :result >= 15 & numGE15 >= 2,
"Fail",
"Pass"
);
![jim's result.PNG jim's result.PNG](https://community.jmp.com/t5/image/serverpage/image-id/10225iD62DF6173B3C049F/image-size/large?v=v2&px=999)
Jim